Creates new XTextureTiles class instance.
Namespace:
SGP.XSpaceAssembly: SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825
Syntax
| C# |
|---|
public XTextureTiles( Texture texture, IXTileCut tileCut ) |
Parameters
- texture
- Type: Texture
Texture Texture used for cut to the tiles.
- tileCut
- Type: SGP.XSpace..::.IXTileCut
Instance of the IXTileCut interface that defines way of cutting texture to the tiles.
Exceptions
| Exception | Condition |
|---|---|
| System..::.ArgumentNullException | texture is nullNothingnullptra null reference (Nothing in Visual Basic). |
| System..::.ArgumentNullException | tileCut is nullNothingnullptra null reference (Nothing in Visual Basic). |