Table of Contents

Class CurvySplineMoveEventArgs

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

sender SplineController
spline CurvySpline
controlPoint CurvySplineSegment
position float
usingWorldUnits bool
delta float
direction MovementDirection

Properties

ControlPoint

The control point which reaching triggered this event

public CurvySplineSegment ControlPoint { get; }

Property Value

CurvySplineSegment

Delta

The left distance yet to move.

public float Delta { get; }

Property Value

float

MovementDirection

The movement direction the controller had when sending the event

public MovementDirection MovementDirection { get; }

Property Value

MovementDirection

Position

Controller Position on Spline

public float Position { get; }

Property Value

float

Sender

The Spline Controller raising the event

public SplineController Sender { get; }

Property Value

SplineController

Spline

The related spline

public CurvySpline Spline { get; }

Property Value

CurvySpline

WorldUnits

Are Delta and Position in world units (in opposition to relative units)?

public bool WorldUnits { get; }

Property Value

bool