Returns the mesh texture coordinates.

Namespace:  SGP.XSpace
Assembly:  SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825

Syntax

C#
public static Vector2[] GetMeshTextureCoordinates(
	Mesh mesh,
	int[] indices,
	int index
)

Parameters

mesh
Type: Mesh
A mesh.
indices
Type: array< System..::.Int32 >[]()[]
Vertex indices to get the texture coordinates.
index
Type: System..::.Int32
Texture coordinates index.

Return Value

Texture coordinates array.

Exceptions

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

See Also