Vytvoří novou animaci ze zadaných parametrů.
Jmenný prostor:
SGP.XSpaceKnihovna: SGPRTL (v SGPRTL)
Verze: dll
Syntaxe
C# |
---|
[DefaultMethodAttribute] public XSimpleSpriteAnimator AddAnimation( int tileIndexStart, int tileIndexEnd, float x, float y, float x2, float y2 ) |
Parametry
- 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.
- x2
- Typ: System..::.Single
Koncová souřadnice animace X.
- y2
- Typ: System..::.Single
Koncová souřadnice animace Y.