docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class CinemachineTargetGroup.Target

    Holds the information that represents a member of the group

    Inheritance
    object
    CinemachineTargetGroup.Target
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Cinemachine
    Assembly: Unity.Cinemachine.dll
    Syntax
    [Serializable]
    public class CinemachineTargetGroup.Target

    Fields

    Object

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

    Declaration
    [Tooltip("The target object.  This object's position and rotation will contribute to the group's average position and rotation, in accordance with its weight")]
    [FormerlySerializedAs("target")]
    public Transform Object
    Field Value
    Type Description
    Transform

    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")]
    [FormerlySerializedAs("radius")]
    public float Radius
    Field Value
    Type Description
    float

    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")]
    [FormerlySerializedAs("weight")]
    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)