Class CinemachineSmoothPath
This is a deprecated component. Use SplineContainer instead.
Inheritance
Inherited Members
Namespace: Unity.Cinemachine
Assembly: solution.dll
Syntax
[Obsolete("CinemachinePathBase has been deprecated. Use SplineContainer instead")]
[AddComponentMenu("")]
[DisallowMultipleComponent]
public class CinemachineSmoothPath : 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 |
---|---|
Distance |
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 |
Max |
The maximum value for the path position |
Min |
The minimum value for the path position |
Methods
Name | Description |
---|---|
Evaluate |
Get the orientation the curve at a point along the path. |
Evaluate |
Get a local space position of a point along the path |
Evaluate |
Get the tangent of the curve at a point along the path. |
Invalidate |
Call this if the path changes in such a way as to affect distances or other cached path elements |