C# Class GSpineSprite, Futile-SpineSprite

Inheritance: FContainer
Show file Open project: Grizzlage/Futile-SpineSprite Class Usage Examples

Public Properties

Property Type Description
animation Spine.AnimationState
animationTimeScale float
skeleton Skeleton
slots List

Public Methods

Method Description
DoesContainAnimation ( string animationName ) : bool
DoesContainSkin ( string skin ) : bool
FindSlotByName ( string name ) : GSpineSlot,
GSpineSprite ( SkeletonData skeletonData ) : System.Collections
GSpineSprite ( string name ) : System.Collections
HandleAddedToStage ( ) : void
HandleRemovedFromStage ( ) : void
IsComplete ( ) : bool
Pause ( ) : void
Play ( string name, bool loop = true ) : void
Queue ( string name, bool loop = true, float delay = 0.0f ) : void
Resume ( ) : void
SetAnimationMix ( string fromAnimation, string toAnimation, float duration ) : void
SetAnimationTimeScale ( float timeScale ) : void
SetSkin ( string skin ) : void
Stop ( ) : void
Update ( ) : void

Private Methods

Method Description
BuildSkeleton ( SkeletonData skeletonData ) : void

Method Details

DoesContainAnimation() public method

public DoesContainAnimation ( string animationName ) : bool
animationName string
return bool

DoesContainSkin() public method

public DoesContainSkin ( string skin ) : bool
skin string
return bool

FindSlotByName() public method

public FindSlotByName ( string name ) : GSpineSlot,
name string
return GSpineSlot,

GSpineSprite() public method

public GSpineSprite ( SkeletonData skeletonData ) : System.Collections
skeletonData Spine.SkeletonData
return System.Collections

GSpineSprite() public method

public GSpineSprite ( string name ) : System.Collections
name string
return System.Collections

HandleAddedToStage() public method

public HandleAddedToStage ( ) : void
return void

HandleRemovedFromStage() public method

public HandleRemovedFromStage ( ) : void
return void

IsComplete() public method

public IsComplete ( ) : bool
return bool

Pause() public method

public Pause ( ) : void
return void

Play() public method

public Play ( string name, bool loop = true ) : void
name string
loop bool
return void

Queue() public method

public Queue ( string name, bool loop = true, float delay = 0.0f ) : void
name string
loop bool
delay float
return void

Resume() public method

public Resume ( ) : void
return void

SetAnimationMix() public method

public SetAnimationMix ( string fromAnimation, string toAnimation, float duration ) : void
fromAnimation string
toAnimation string
duration float
return void

SetAnimationTimeScale() public method

public SetAnimationTimeScale ( float timeScale ) : void
timeScale float
return void

SetSkin() public method

public SetSkin ( string skin ) : void
skin string
return void

Stop() public method

public Stop ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

animation public property

public AnimationState,Spine animation
return Spine.AnimationState

animationTimeScale public property

public float animationTimeScale
return float

skeleton public property

public Skeleton skeleton
return Skeleton

slots public property

public List slots
return List