편집

다음을 통해 공유


MDLMaterial.FromSceneMaterial(SCNMaterial) Method

Definition

Creates a new MDLMaterial from the specified SCNMaterial.

[Foundation.Export("materialWithSCNMaterial:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)]
public static ModelIO.MDLMaterial FromSceneMaterial (SceneKit.SCNMaterial material);
static member FromSceneMaterial : SceneKit.SCNMaterial -> ModelIO.MDLMaterial

Parameters

material
SCNMaterial

Returns

Attributes

Applies to