Table of Contents

Class TNBExtensions

Namespace
Stride.Extensions
Assembly
Stride.Rendering.dll
public static class TNBExtensions
Inheritance
TNBExtensions

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

meshData MeshDraw

The mesh data.