Class CinemachinePath
This is a deprecated component. Use SplineContainer instead.
Inherited Members
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: Unity.Cinemachine
Assembly: solution.dll
Syntax
[Obsolete("CinemachinePath has been deprecated. Use SplineContainer instead")]
[AddComponentMenu("")]
[DisallowMultipleComponent]
public class CinemachinePath : CinemachinePathBase
Fields
Name | Description |
---|---|
m_Looped | If checked, then the path ends are joined to form a continuous loop |
m_Waypoints | The waypoints that define the path. They will be interpolated using a bezier curve |
Properties
Name | Description |
---|---|
DistanceCacheSampleStepsPerSegment | When calculating the distance cache, sample the path this many times between points |
Looped | True if the path ends are joined to form a continuous loop |
MaxPos | The maximum value for the path position |
MinPos | The minimum value for the path position |
Methods
Name | Description |
---|---|
EvaluateLocalOrientation(float) | Get the orientation the curve at a point along the path. |
EvaluateLocalPosition(float) | Get a worldspace position of a point along the path |
EvaluateLocalTangent(float) | Get the tangent of the curve at a point along the path. |