Editar

Compartilhar via


MDLMesh.CreateSubdividedMesh Method

Definition

Overloads

CreateSubdividedMesh(MDLMesh, nuint, nuint)

Subdivides the indexed submesh within the specified mesh, the specified number of times.

CreateSubdividedMesh(MDLMesh, Int32, UInt32, IMDLMeshBufferAllocator)

CreateSubdividedMesh(MDLMesh, nuint, nuint)

Subdivides the indexed submesh within the specified mesh, the specified number of times.

[Foundation.Export("newSubdividedMesh:submeshIndex:subdivisionLevels:")]
public static ModelIO.MDLMesh CreateSubdividedMesh (ModelIO.MDLMesh mesh, nuint submeshIndex, nuint subdivisionLevels);
static member CreateSubdividedMesh : ModelIO.MDLMesh * nuint * nuint -> ModelIO.MDLMesh

Parameters

mesh
MDLMesh
submeshIndex
System.System.UIntPtr System.unativeint
subdivisionLevels
System.System.UIntPtr System.unativeint

Returns

Attributes

Applies to

CreateSubdividedMesh(MDLMesh, Int32, UInt32, IMDLMeshBufferAllocator)

public static ModelIO.MDLMesh CreateSubdividedMesh (ModelIO.MDLMesh mesh, int submeshIndex, uint subdivisionLevels, ModelIO.IMDLMeshBufferAllocator allocator);
static member CreateSubdividedMesh : ModelIO.MDLMesh * int * uint32 * ModelIO.IMDLMeshBufferAllocator -> ModelIO.MDLMesh

Parameters

mesh
MDLMesh
submeshIndex
Int32
subdivisionLevels
UInt32
allocator
IMDLMeshBufferAllocator

The allocator to use instead of the default, internal allocator.

This parameter can be null.

Returns

Applies to