Přehraje animaci s uvedeným číslem.
Jmenný prostor:
SGP.XSpaceKnihovna: SGPRTL (v SGPRTL)
Verze: dll
Syntaxe
C# |
---|
[EditorBrowsableAttribute(EditorBrowsableState.Advanced)] public void PlayAnimation( int anim, double fromPos, double duration, double speed, XAnimationMeshSprite..::.AnimationHandler handler, XAnimationMeshSprite..::.AnimationHandlerInfo info ) |
Parametry
- anim
- Typ: System..::.Int32
Číslo 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.
Výjimky
Výjimka | Podmínka |
---|---|
System..::.ArgumentNullException | info je nullNothingnullptrnulová reference (Nothing v Visual Basic) a handler není nullNothingnullptrnulová reference (Nothing v Visual Basic). |