Share via


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:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void AddNormals(string? name, float creaseThreshold);
[<Foundation.Export("addNormalsWithAttributeNamed:creaseThreshold:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
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