編輯

共用方式為


MDLMesh.CreateEllipsoid Method

Definition

[Foundation.Export("newEllipsoidWithRadii:radialSegments:verticalSegments:geometryType:inwardNormals:hemisphere:allocator:")]
public static ModelIO.MDLMesh CreateEllipsoid (OpenTK.Vector3 radii, nuint radialSegments, nuint verticalSegments, ModelIO.MDLGeometryType geometryType, bool inwardNormals, bool hemisphere, ModelIO.IMDLMeshBufferAllocator allocator);
static member CreateEllipsoid : OpenTK.Vector3 * nuint * nuint * ModelIO.MDLGeometryType * bool * bool * ModelIO.IMDLMeshBufferAllocator -> ModelIO.MDLMesh

Parameters

radii
Vector3
radialSegments
System.System.UIntPtr System.unativeint
verticalSegments
System.System.UIntPtr System.unativeint
geometryType
MDLGeometryType
inwardNormals
Boolean
hemisphere
Boolean
allocator
IMDLMeshBufferAllocator

To be added.

This parameter can be null.

Returns

Attributes

Applies to