Modifier

Partager via


MDLMesh.CreateCylindroid Method

Definition

[Foundation.Export("newCylinderWithHeight:radii:radialSegments:verticalSegments:geometryType:inwardNormals:allocator:")]
public static ModelIO.MDLMesh CreateCylindroid (float height, OpenTK.Vector2 radii, nuint radialSegments, nuint verticalSegments, ModelIO.MDLGeometryType geometryType, bool inwardNormals, ModelIO.IMDLMeshBufferAllocator allocator);
static member CreateCylindroid : single * OpenTK.Vector2 * nuint * nuint * ModelIO.MDLGeometryType * bool * ModelIO.IMDLMeshBufferAllocator -> ModelIO.MDLMesh

Parameters

height
Single
radii
Vector2
radialSegments
System.System.UIntPtr System.unativeint
verticalSegments
System.System.UIntPtr System.unativeint
geometryType
MDLGeometryType
inwardNormals
Boolean
allocator
IMDLMeshBufferAllocator

To be added.

This parameter can be null.

Returns

Attributes

Applies to