Düzenle

Aracılığıyla paylaş


MDLObject.FromNode Method

Definition

Overloads

FromNode(SCNNode)

Creates a new MDLObject from the specified Scene Kit node.

FromNode(SCNNode, IMDLMeshBufferAllocator)

Creates and returns a new Model IO object from the provided node.

FromNode(SCNNode)

Creates a new MDLObject from the specified Scene Kit node.

[Foundation.Export("objectWithSCNNode:")]
[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.MDLObject FromNode (SceneKit.SCNNode node);
static member FromNode : SceneKit.SCNNode -> ModelIO.MDLObject

Parameters

node
SCNNode

Returns

Attributes

Applies to

FromNode(SCNNode, IMDLMeshBufferAllocator)

Creates and returns a new Model IO object from the provided node.

[Foundation.Export("objectWithSCNNode:bufferAllocator:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static ModelIO.MDLObject FromNode (SceneKit.SCNNode node, ModelIO.IMDLMeshBufferAllocator bufferAllocator);
static member FromNode : SceneKit.SCNNode * ModelIO.IMDLMeshBufferAllocator -> ModelIO.MDLObject

Parameters

node
SCNNode
bufferAllocator
IMDLMeshBufferAllocator

To be added.

This parameter can be null.

Returns

Attributes

Applies to