MDLMesh.AddTangentBasisWithNormals(String, String, String) Method

Definition

Reads surface normals from the buffer that is specified by textureCoordinateAttributeName, calculates tangents and bitangents, and stores them in the specified buffers.

[Foundation.Export("addTangentBasisForTextureCoordinateAttributeNamed:normalAttributeNamed:tangentAttributeNamed:")]
public virtual void AddTangentBasisWithNormals (string textureCoordinateAttributeName, string normalAttributeName, string tangentAttributeName);
abstract member AddTangentBasisWithNormals : string * string * string -> unit
override this.AddTangentBasisWithNormals : string * string * string -> unit

Parameters

textureCoordinateAttributeName
String
normalAttributeName
String
tangentAttributeName
String
Attributes

Applies to