MDLMaterial.FromSceneMaterial(SCNMaterial) 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.
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