編集

次の方法で共有


MDLMaterial.GetProperty Method

Definition

Overloads

GetProperty(String)

Returns the property with the specifed name, if it exists. Otherwise, returns null.

GetProperty(MDLMaterialSemantic)

Returns the property value for the specifed semantic, if it exists. Otherwise, returns null.

GetProperty(String)

Returns the property with the specifed name, if it exists. Otherwise, returns null.

[Foundation.Export("propertyNamed:")]
public virtual ModelIO.MDLMaterialProperty GetProperty (string name);
abstract member GetProperty : string -> ModelIO.MDLMaterialProperty
override this.GetProperty : string -> ModelIO.MDLMaterialProperty

Parameters

name
String

Returns

Attributes

Applies to

GetProperty(MDLMaterialSemantic)

Returns the property value for the specifed semantic, if it exists. Otherwise, returns null.

[Foundation.Export("propertyWithSemantic:")]
public virtual ModelIO.MDLMaterialProperty GetProperty (ModelIO.MDLMaterialSemantic semantic);
abstract member GetProperty : ModelIO.MDLMaterialSemantic -> ModelIO.MDLMaterialProperty
override this.GetProperty : ModelIO.MDLMaterialSemantic -> ModelIO.MDLMaterialProperty

Parameters

Returns

Attributes

Applies to