Class CinemachineTargetGroup.Target
Holds the information that represents a member of the group
Inherited Members
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 |