MDLSubmesh.FromGeometryElement Method

Definition

Overloads

FromGeometryElement(SCNGeometryElement, IMDLMeshBufferAllocator)

Creates a new submesh from the provided Scene Kit element.

FromGeometryElement(SCNGeometryElement)

Creates a new MDLSubmesh object from the specified Scene Kit geometry element.

FromGeometryElement(SCNGeometryElement, IMDLMeshBufferAllocator)

Creates a new submesh from the provided Scene Kit element.

[Foundation.Export("submeshWithSCNGeometryElement: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.MDLSubmesh FromGeometryElement (SceneKit.SCNGeometryElement element, ModelIO.IMDLMeshBufferAllocator bufferAllocator);
static member FromGeometryElement : SceneKit.SCNGeometryElement * ModelIO.IMDLMeshBufferAllocator -> ModelIO.MDLSubmesh

Parameters

bufferAllocator
IMDLMeshBufferAllocator

To be added.

This parameter can be null.

Returns

MDLSubmesh
Attributes

FromGeometryElement(SCNGeometryElement)

Creates a new MDLSubmesh object from the specified Scene Kit geometry element.

[Foundation.Export("submeshWithSCNGeometryElement:")]
public static ModelIO.MDLSubmesh FromGeometryElement (SceneKit.SCNGeometryElement element);
static member FromGeometryElement : SceneKit.SCNGeometryElement -> ModelIO.MDLSubmesh

Parameters

Returns

MDLSubmesh
Attributes

Applies to