Share via


MDLMesh.FromGeometry Method

Definition

Overloads

FromGeometry(SCNGeometry)

[Foundation.Export("meshWithSCNGeometry:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static ModelIO.MDLMesh FromGeometry(SceneKit.SCNGeometry geometry);
[<Foundation.Export("meshWithSCNGeometry:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member FromGeometry : SceneKit.SCNGeometry -> ModelIO.MDLMesh

Parameters

geometry
SCNGeometry

Returns

Attributes

Applies to

FromGeometry(SCNGeometry, IMDLMeshBufferAllocator)

[Foundation.Export("meshWithSCNGeometry:bufferAllocator:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static ModelIO.MDLMesh FromGeometry(SceneKit.SCNGeometry geometry, ModelIO.IMDLMeshBufferAllocator? bufferAllocator);
[<Foundation.Export("meshWithSCNGeometry:bufferAllocator:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member FromGeometry : SceneKit.SCNGeometry * ModelIO.IMDLMeshBufferAllocator -> ModelIO.MDLMesh

Parameters

geometry
SCNGeometry
bufferAllocator
IMDLMeshBufferAllocator

To be added.

This parameter can be null.

Returns

Attributes

Applies to