編輯

共用方式為


MDLMesh.CreateEllipticalCone Method

Definition

[Foundation.Export("newEllipticalConeWithHeight:radii:radialSegments:verticalSegments:geometryType:inwardNormals:allocator:")]
public static ModelIO.MDLMesh CreateEllipticalCone (float height, OpenTK.Vector2 radii, nuint radialSegments, nuint verticalSegments, ModelIO.MDLGeometryType geometryType, bool inwardNormals, ModelIO.IMDLMeshBufferAllocator allocator);
static member CreateEllipticalCone : 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