Nastaví sadu textur XTextureTiles, které instance XBillboardSprite používá pro zobrazování.
Jmenný prostor:
SGP.XSpaceKnihovna: SGPRTL (v SGPRTL)
Verze: dll
Syntaxe
C# |
---|
public void SetTextureTiles( Texture texture, int countX, int countY, int tileWidth, int tileHeight ) |
Parametry
- texture
- Typ: Texture
Zdrojová textura Texture.
- countX
- Typ: System..::.Int32
Počet políček v ose X.
- countY
- Typ: System..::.Int32
Počet políček v ose Y.
- tileWidth
- Typ: System..::.Int32
Šířka políčka.
- tileHeight
- Typ: System..::.Int32
Výška políčka.