Share via


MDLVoxelArray.CreateMesh(IMDLMeshBufferAllocator) Method

Definition

Returns a mesh that encloses the voxels in the array.

[Foundation.Export("meshUsingAllocator:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual ModelIO.MDLMesh? CreateMesh(ModelIO.IMDLMeshBufferAllocator? allocator);
[<Foundation.Export("meshUsingAllocator:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member CreateMesh : ModelIO.IMDLMeshBufferAllocator -> ModelIO.MDLMesh
override this.CreateMesh : ModelIO.IMDLMeshBufferAllocator -> ModelIO.MDLMesh

Parameters

allocator
IMDLMeshBufferAllocator

To be added.

This parameter can be null.

Returns

Attributes

Applies to