C# Class Spine.CurveTimeline

Inheritance: Timeline
Afficher le fichier Open project: EsotericSoftware/spine-runtimes Class Usage Examples

Méthodes publiques

Méthode Description
Apply ( Skeleton skeleton, float lastTime, float time, ExposedList firedEvents, float alpha, bool setupPose, bool mixingOut ) : void
CurveTimeline ( int frameCount ) : System
GetCurvePercent ( int frameIndex, float percent ) : float
GetCurveType ( int frameIndex ) : float
SetCurve ( int frameIndex, float cx1, float cy1, float cx2, float cy2 ) : void

Sets the control handle positions for an interpolation bezier curve used to transition from this keyframe to the next. cx1 and cx2 are from 0 to 1, representing the percent of time between the two keyframes. cy1 and cy2 are the percent of the difference between the keyframe's values.

SetLinear ( int frameIndex ) : void
SetStepped ( int frameIndex ) : void

Method Details

Apply() abstract public méthode

abstract public Apply ( Skeleton skeleton, float lastTime, float time, ExposedList firedEvents, float alpha, bool setupPose, bool mixingOut ) : void
skeleton Skeleton
lastTime float
time float
firedEvents ExposedList
alpha float
setupPose bool
mixingOut bool
Résultat void

CurveTimeline() public méthode

public CurveTimeline ( int frameCount ) : System
frameCount int
Résultat System

GetCurvePercent() public méthode

public GetCurvePercent ( int frameIndex, float percent ) : float
frameIndex int
percent float
Résultat float

GetCurveType() public méthode

public GetCurveType ( int frameIndex ) : float
frameIndex int
Résultat float

SetCurve() public méthode

Sets the control handle positions for an interpolation bezier curve used to transition from this keyframe to the next. cx1 and cx2 are from 0 to 1, representing the percent of time between the two keyframes. cy1 and cy2 are the percent of the difference between the keyframe's values.
public SetCurve ( int frameIndex, float cx1, float cy1, float cx2, float cy2 ) : void
frameIndex int
cx1 float
cy1 float
cx2 float
cy2 float
Résultat void

SetLinear() public méthode

public SetLinear ( int frameIndex ) : void
frameIndex int
Résultat void

SetStepped() public méthode

public SetStepped ( int frameIndex ) : void
frameIndex int
Résultat void