Calculates texture coordinates for the given vertex.
Namespace:
SGP.XSpaceAssembly: SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825
Syntax
C# |
---|
protected override Vector2 MapTextureCoordinate( int vectorId, int vectorCount, Vector3 position ) |
Parameters
- vectorId
- Type: System..::.Int32
The vertex number.
- vectorCount
- Type: System..::.Int32
The vertex count.
- position
- Type: Vector3
The position of the vertex in space.