SCNGeometry.GetMaterial(String) SCNGeometry.GetMaterial(String) Method

Definition

Returns the first material that is attached to the geometry and has the specified name.

[Foundation.Export("materialWithName:")]
public virtual SceneKit.SCNMaterial GetMaterial (string name);
abstract member GetMaterial : string -> SceneKit.SCNMaterial
override this.GetMaterial : string -> SceneKit.SCNMaterial

Parameters

name
String String

Returns

Applies to