SCNNode.FromModelObject(MDLObject) SCNNode.FromModelObject(MDLObject) Method

Definition

Creates a node from the provided Model IO object.

[Foundation.Export("nodeWithMDLObject:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public static SceneKit.SCNNode FromModelObject (ModelIO.MDLObject mdlObject);
static member FromModelObject : ModelIO.MDLObject -> SceneKit.SCNNode

Parameters

mdlObject
MDLObject MDLObject

Returns

Applies to