編集

次の方法で共有


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