Field TargetOffset
Offset from the target object (in target-local co-ordinates). The camera will attempt to frame the point which is the target's position plus this offset. Use it to correct for cases when the target's origin is not the point of interest for the camera.
Namespace: Unity.Cinemachine
Assembly: solution.dll
Syntax
[Tooltip("Offset from the target object (in target-local co-ordinates). The camera will attempt to frame the point which is the target's position plus this offset. Use it to correct for cases when the target's origin is not the point of interest for the camera.")]
[FormerlySerializedAs("TrackedObjectOffset")]
public Vector3 TargetOffset
Returns
Type | Description |
---|---|
Vector3 |