Struct CinemachineSplineDollyLookAtTargets.Item
LookAt targets for the camera at specific positions on the Spline
Inherited Members
Namespace: Unity.Cinemachine
Assembly: Unity.Cinemachine.dll
Syntax
[Serializable]
public struct CinemachineSplineDollyLookAtTargets.Item
Fields
Easing
Easing value for the Bezier curve. 0 is linear, 1 is smooth.
Declaration
[Tooltip("Controls how to ease in and out of this data point. A value of 0 will linearly interpolate between LookAt points, while a value of 1 will slow down and briefly pause the rotation to look at the target.")]
[Range(0, 1)]
public float Easing
Field Value
Type | Description |
---|---|
float |
LookAt
The target object to look at. It may be None, in which case the Offset will specify a point in world spac
Declaration
[Tooltip("The target object to look at. It may be None, in which case the Offset will specify a point in world space.")]
public Transform LookAt
Field Value
Type | Description |
---|---|
Transform |
Offset
The offset (in local coords) from the LookAt target's origin. If LookAt target is None, this will specify a world-space point
Declaration
[Tooltip("The offset (in local coords) from the LookAt target's origin. If LookAt target is None, this will specify a world-space point.")]
public Vector3 Offset
Field Value
Type | Description |
---|---|
Vector3 |
Properties
WorldLookAt
Get/set the LookAt point in world space.
Declaration
public Vector3 WorldLookAt { readonly get; set; }
Property Value
Type | Description |
---|---|
Vector3 |