Struct CinemachineTargetGroup.Target | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Struct CinemachineTargetGroup.Target

    Holds the information that represents a member of the group

    Inherited Members
    System.ValueType.Equals(System.Object)
    System.ValueType.GetHashCode()
    System.ValueType.ToString()
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: Cinemachine
    Syntax
    [DocumentationSorting(DocumentationSortingAttribute.Level.UserRef)]
    public struct Target

    Fields

    radius

    The radius of the target, used for calculating the bounding box. Cannot be negative

    Declaration
    public float radius
    Field Value
    Type Description
    System.Single

    target

    The target objects. This object's position and orientation will contribute to the group's average position and orientation, in accordance with its weight

    Declaration
    public Transform target
    Field Value
    Type Description
    Transform

    weight

    How much weight to give the target when averaging. Cannot be negative

    Declaration
    public float weight
    Field Value
    Type Description
    System.Single
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023