Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    TNBExtensions Class

    Namespace: Stride.Extensions
    Assembly: 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

    | Improve this Doc View Source

    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.


    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation