Share via


MDLSubmesh.Material Property

Definition

Gets or sets the material to use when rendering the submesh.

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual ModelIO.MDLMaterial? Material { [Foundation.Export("material", ObjCRuntime.ArgumentSemantic.Strong)] get; [Foundation.Export("setMaterial:", ObjCRuntime.ArgumentSemantic.Strong)] set; }
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
[<get: Foundation.Export("material", ObjCRuntime.ArgumentSemantic.Strong)>]
[<set: Foundation.Export("setMaterial:", ObjCRuntime.ArgumentSemantic.Strong)>]
member this.Material : ModelIO.MDLMaterial with get, set

Property Value

(More documentation for this node is coming)

This value can be null.

Attributes

Applies to