Class CurvySplineMoveEventArgs
- Namespace
- FluffyUnderware.Curvy.Controllers
EventArgs used by spline controller movements
public class CurvySplineMoveEventArgs : CancelEventArgs
- Inheritance
-
CurvySplineMoveEventArgs
Constructors
CurvySplineMoveEventArgs(SplineController, CurvySpline, CurvySplineSegment, float, bool, float, MovementDirection)
public CurvySplineMoveEventArgs(SplineController sender, CurvySpline spline, CurvySplineSegment controlPoint, float position, bool usingWorldUnits, float delta, MovementDirection direction)
Parameters
senderSplineControllersplineCurvySplinecontrolPointCurvySplineSegmentpositionfloatusingWorldUnitsbooldeltafloatdirectionMovementDirection
Properties
ControlPoint
The control point which reaching triggered this event
public CurvySplineSegment ControlPoint { get; }
Property Value
Delta
The left distance yet to move.
public float Delta { get; }
Property Value
MovementDirection
The movement direction the controller had when sending the event
public MovementDirection MovementDirection { get; }
Property Value
Position
Controller Position on Spline
public float Position { get; }
Property Value
Sender
The Spline Controller raising the event
public SplineController Sender { get; }
Property Value
Spline
The related spline
public CurvySpline Spline { get; }
Property Value
WorldUnits
public bool WorldUnits { get; }