Method GetTangents
GetTangents(RideID)
Gets the tangents of the Mesh. The tangent at each index corresponds to the vertex with the same index.
Declaration
RideVector4[] GetTangents(RideID mesh)
Parameters
Type | Name | Description |
---|---|---|
RideID | mesh | ID of the mesh. |
Returns
Type | Description |
---|---|
RideVector4[] | The mesh's tangent array. |
GetTangents(RideID, ref List<RideVector4>)
Gets the tangents of the Mesh. The tangent at each index corresponds to the vertex with the same index.
Declaration
void GetTangents(RideID mesh, ref List<RideVector4> tangents)
Parameters
Type | Name | Description |
---|---|---|
RideID | mesh | ID of the mesh. |
List<RideVector4> | tangents | A list of tangents to populate. |