Creates a texture mapping using specified algorithm.

Namespace:  SGP.XSpace
Assembly:  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

ExceptionCondition
System..::.ArgumentNullException algorithm is nullNothingnullptra null reference (Nothing in Visual Basic).

See Also