SCNGeometry.GetMaterial(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[Foundation.Export("materialWithName:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual SceneKit.SCNMaterial? GetMaterial(string name);
[<Foundation.Export("materialWithName:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetMaterial : string -> SceneKit.SCNMaterial
override this.GetMaterial : string -> SceneKit.SCNMaterial
Parameters
- name
- String
Returns
- Attributes