docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct CinemachineTargetGroup.Target

    Holds the information that represents a member of the group

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Cinemachine
    Assembly: Cinemachine.dll
    Syntax
    [DocumentationSorting(DocumentationSortingAttribute.Level.UserRef)]
    [Serializable]
    public struct CinemachineTargetGroup.Target

    Fields

    radius

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

    Declaration
    [Tooltip("The radius of the target, used for calculating the bounding box.  Cannot be negative")]
    public float radius
    Field Value
    Type Description
    float

    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
    [Tooltip("The target objects.  This object's position and orientation will contribute to the group's average position and orientation, in accordance with its weight")]
    public Transform target
    Field Value
    Type Description
    Transform

    weight

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

    Declaration
    [Tooltip("How much weight to give the target when averaging.  Cannot be negative")]
    public float weight
    Field Value
    Type Description
    float
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)