CameraPathBezierControlPoint.cs

CameraPathBezierControlPoint.cs

public enum animationEase

flat
easein
easeout
easeinout
The different animation ease modes

public Vector3 controlPoint;
The control point for this point – modifies the curve value for this point

public CameraPathBezier bezier;
A link to the bezier curve class

public animationEase _ease
The animation mode to modify the curve time

public AnimationCurve _curve
The actual animation curve used to modify the animation

public float FOV;
The Field of View used on the camera.
Default is set to 60

public Vector3 worldControlPoint
Returns the position of the control point in world coordinates

public Vector3 reverseWorldControlPoint
Returns an inverse control point position of the control point in world coordinates

public bool isLastPoint
Returns true if this is the final point on the Bezier curve

public void SetRotationToCurve()
Sets the rotation of the point to match the direction of the curve

Comments are closed.