Vytvoří novou animaci ze zadaných parametrů.
Jmenný prostor:
SGP.XSpaceKnihovna: SGPRTL (v SGPRTL)
Verze: dll
Syntaxe
C# |
---|
public XSimpleSpriteAnimator AddAnimation( Object animationIndex, int tileIndexStart, int tileIndexEnd, float x, float y, float z, float x2, float y2, float z2 ) |
Parametry
- animationIndex
- Typ: System..::.Object
Klíč, pod kterým bude animace vytvořena a bude přístupná přes iterátor.
- tileIndexStart
- Typ: System..::.Int32
Počáteční číslo předmětu animace.
- tileIndexEnd
- Typ: System..::.Int32
Konečné číslo předmětu animace.
- x
- Typ: System..::.Single
Počáteční souřadnice animace X.
- y
- Typ: System..::.Single
Počáteční souřadnice animace Y.
- z
- Typ: System..::.Single
Počáteční souřadnice animace Z.
- x2
- Typ: System..::.Single
Koncová souřadnice animace X.
- y2
- Typ: System..::.Single
Koncová souřadnice animace Y.
- z2
- Typ: System..::.Single
Koncová souřadnice animace Z.