Upravit

Sdílet prostřednictvím


MDLMesh.AddNormals(String, Single) Method

Definition

Generates surface normals for a mesh, interpolating between adjacent faces when the dot product of their unit normals is greater than creaseThreshold.

[Foundation.Export("addNormalsWithAttributeNamed:creaseThreshold:")]
public virtual void AddNormals (string name, float creaseThreshold);
abstract member AddNormals : string * single -> unit
override this.AddNormals : string * single -> unit

Parameters

name
String

To be added.

This parameter can be null.

creaseThreshold
Single
Attributes

Applies to