Method GetUVs
GetUVs(RideID, Int32)
Gets the UVs of the Mesh.
Declaration
RideVector2[] GetUVs(RideID mesh, int channel)
Parameters
Type | Name | Description |
---|---|---|
RideID | mesh | ID of the mesh. |
System.Int32 | channel | The UV channel, in [0..7] range. Indices start at 0, which corresponds to uv. Note that 1 corresponds to uv2. |
Returns
Type | Description |
---|---|
RideVector2[] |
GetUVs(RideID, Int32, ref List<RideVector2>)
Gets the UVs of the Mesh.
Declaration
void GetUVs(RideID mesh, int channel, ref List<RideVector2> uvs)
Parameters
Type | Name | Description |
---|---|---|
RideID | mesh | ID of the mesh. |
System.Int32 | channel | The UV channel, in [0..7] range. Indices start at 0, which corresponds to uv. Note that 1 corresponds to uv2. |
List<RideVector2> | uvs | A list of UVs to populate. |
GetUVs(RideID, Int32, ref List<RideVector3>)
Gets the UVs of the Mesh.
Declaration
void GetUVs(RideID mesh, int channel, ref List<RideVector3> uvs)
Parameters
Type | Name | Description |
---|---|---|
RideID | mesh | ID of the mesh. |
System.Int32 | channel | The UV channel, in [0..7] range. Indices start at 0, which corresponds to uv. Note that 1 corresponds to uv2. |
List<RideVector3> | uvs | A list of UVs to populate. |
GetUVs(RideID, Int32, ref List<RideVector4>)
Gets the UVs of the Mesh.
Declaration
void GetUVs(RideID mesh, int channel, ref List<RideVector4> uvs)
Parameters
Type | Name | Description |
---|---|---|
RideID | mesh | ID of the mesh. |
System.Int32 | channel | The UV channel, in [0..7] range. Indices start at 0, which corresponds to uv. Note that 1 corresponds to uv2. |
List<RideVector4> | uvs | A list of UVs to populate. |