Creates a texture mapping using specified algorithm.
Namespace:
SGP.XSpaceAssembly: SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825
Syntax
| C# |
|---|
public void CreateTextureMapping( int textureLayer, IXTextureMappingAlgorithm algorithm ) |
Parameters
- textureLayer
- Type: System..::.Int32
The number of the texture layer.
- algorithm
- Type: SGP.XSpace..::.IXTextureMappingAlgorithm
An algorithm IXTextureMappingAlgorithm for mapping a texture on the mesh.
Exceptions
| Exception | Condition |
|---|---|
| System..::.ArgumentNullException | algorithm is nullNothingnullptra null reference (Nothing in Visual Basic). |