C# Class SplineController, wepwep

Inheritance: MonoBehaviour
Afficher le fichier Open project: encephalopathy/wepwep Class Usage Examples

Méthodes publiques

Свойство Type Description
AutoClose bool
AutoStart bool
HideOnExecute bool
OrientationMode eOrientationMode
Speed float
SplineRoot GameObject
WrapMode eWrapMode

Protected Properties

Свойство Type Description
TimeBetweenAdjacentNodes float
currentColor Color
mSplineInterp SplineInterpolator,
mSplineNodeInfo SplineNode[],

Méthodes publiques

Méthode Description
DisableNodeObjects ( ) : void

Disables the spline objects, we don't need them outside design-time.

FollowSpline ( ) : void

Starts the interpolation

FollowSpline ( OnPathEndCallback endCallback, OnNodeArrivalCallback nodeCallback1, OnNodeLeavingCallback nodeCallback2 ) : void

Starts the interpolation

OnDrawGizmos ( ) : void
Start ( ) : void

Méthodes protégées

Méthode Description
ConstructCurve ( SplineInterpolator, interp, SplineNode, nInfo ) : void
DrawGoKitSplineController ( ) : void
GetSplineNodes ( ) : SplineNode[],

Returns children transforms, sorted by name.

OnStart ( ) : void
SetupSplineInterpolator ( SplineInterpolator, interp, SplineNode, ninfo ) : void

Private Methods

Méthode Description
GetDuration ( SplineNode, info ) : float

Method Details

ConstructCurve() protected méthode

protected ConstructCurve ( SplineInterpolator, interp, SplineNode, nInfo ) : void
interp SplineInterpolator,
nInfo SplineNode,
Résultat void

DisableNodeObjects() public méthode

Disables the spline objects, we don't need them outside design-time.
public DisableNodeObjects ( ) : void
Résultat void

DrawGoKitSplineController() protected méthode

protected DrawGoKitSplineController ( ) : void
Résultat void

FollowSpline() public méthode

Starts the interpolation
public FollowSpline ( ) : void
Résultat void

FollowSpline() public méthode

Starts the interpolation
public FollowSpline ( OnPathEndCallback endCallback, OnNodeArrivalCallback nodeCallback1, OnNodeLeavingCallback nodeCallback2 ) : void
endCallback OnPathEndCallback
nodeCallback1 OnNodeArrivalCallback
nodeCallback2 OnNodeLeavingCallback
Résultat void

GetSplineNodes() protected méthode

Returns children transforms, sorted by name.
protected GetSplineNodes ( ) : SplineNode[],
Résultat SplineNode[],

OnDrawGizmos() public méthode

public OnDrawGizmos ( ) : void
Résultat void

OnStart() protected méthode

protected OnStart ( ) : void
Résultat void

SetupSplineInterpolator() protected méthode

protected SetupSplineInterpolator ( SplineInterpolator, interp, SplineNode, ninfo ) : void
interp SplineInterpolator,
ninfo SplineNode,
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

Property Details

AutoClose public_oe property

public bool AutoClose
Résultat bool

AutoStart public_oe property

public bool AutoStart
Résultat bool

HideOnExecute public_oe property

public bool HideOnExecute
Résultat bool

OrientationMode public_oe property

public eOrientationMode OrientationMode
Résultat eOrientationMode

Speed public_oe property

public float Speed
Résultat float

SplineRoot public_oe property

public GameObject SplineRoot
Résultat GameObject

TimeBetweenAdjacentNodes protected_oe property

protected float TimeBetweenAdjacentNodes
Résultat float

WrapMode public_oe property

public eWrapMode WrapMode
Résultat eWrapMode

currentColor protected_oe property

protected Color currentColor
Résultat Color

mSplineInterp protected_oe property

protected SplineInterpolator, mSplineInterp
Résultat SplineInterpolator,

mSplineNodeInfo protected_oe property

protected SplineNode[], mSplineNodeInfo
Résultat SplineNode[],