Přehraje animaci s uvedeným názvem.
Jmenný prostor:
SGP.XSpaceKnihovna: SGPRTL (v SGPRTL)
Verze: dll
Syntaxe
C# |
---|
[EditorBrowsableAttribute(EditorBrowsableState.Advanced)] public void PlayAnimation( string name, double fromPos, double duration, double speed, XAnimationMeshSprite..::.AnimationHandler handler, XAnimationMeshSprite..::.AnimationHandlerInfo info ) |
Parametry
- name
- Typ: System..::.String
Název animace, která bude přehrána.
- fromPos
- Typ: System..::.Double
Pozice počátku animace.
- duration
- Typ: System..::.Double
Doba trvání animace.
- speed
- Typ: System..::.Double
Rychlost animace.
- handler
- Typ: SGP.XSpace..::.XAnimationMeshSprite..::.AnimationHandler
Delegát pro informování o běhu animace.
- info
- Typ: SGP.XSpace..::.XAnimationMeshSprite..::.AnimationHandlerInfo
Instance XAnimationMeshSprite..::.AnimationHandlerInfo obsahující stav animace.