C# Class Spine.PathConstraint

Inheritance: IConstraint
Show file Open project: EsotericSoftware/spine-runtimes Class Usage Examples

Public Methods

Method Description
Apply ( ) : void
PathConstraint ( PathConstraintData data, Skeleton skeleton ) : System
Update ( ) : void

Private Methods

Method Description
AddAfterPosition ( float p, float temp, int i, float output, int o ) : void
AddBeforePosition ( float p, float temp, int i, float output, int o ) : void
AddCurvePosition ( float p, float x1, float y1, float cx1, float cy1, float cx2, float cy2, float x2, float y2, float output, int o, bool tangents ) : void
ComputeWorldPositions ( PathAttachment path, int spacesCount, bool tangents, bool percentPosition, bool percentSpacing ) : float[]

Method Details

Apply() public method

public Apply ( ) : void
return void

PathConstraint() public method

public PathConstraint ( PathConstraintData data, Skeleton skeleton ) : System
data PathConstraintData
skeleton Skeleton
return System

Update() public method

public Update ( ) : void
return void