TNBExtensions Class
Namespace: Stride.ExtensionsAssembly: Stride.Rendering.dll
System.Object →
TNBExtensions
Derived from TNBExtensions:
public static class TNBExtensions
Name | Description | |
---|---|---|
Methods | ||
GenerateTangentBinormal(MeshDraw) | Generates the tangents and binormals for this mesh data. Tangents and bitangents will be encoded as float4: float3 for tangent and an additional float for handedness (1 or -1), so that bitangent can be reconstructed. More info at http://www.terathon.com/code/tangent.html |
Methods
GenerateTangentBinormal(MeshDraw)
Generates the tangents and binormals for this mesh data. Tangents and bitangents will be encoded as float4: float3 for tangent and an additional float for handedness (1 or -1), so that bitangent can be reconstructed. More info at http://www.terathon.com/code/tangent.html
public static void GenerateTangentBinormal(this MeshDraw meshData)
Parameters
Type | Name | Description |
---|---|---|
MeshDraw | meshData | The mesh data. |