Share via


MDLMesh.CreateEllipsoid Method

Definition

[Foundation.Export("newEllipsoidWithRadii:radialSegments:verticalSegments:geometryType:inwardNormals:hemisphere:allocator:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static ModelIO.MDLMesh CreateEllipsoid(System.Numerics.Vector3 radii, UIntPtr radialSegments, UIntPtr verticalSegments, ModelIO.MDLGeometryType geometryType, bool inwardNormals, bool hemisphere, ModelIO.IMDLMeshBufferAllocator? allocator);
[<Foundation.Export("newEllipsoidWithRadii:radialSegments:verticalSegments:geometryType:inwardNormals:hemisphere:allocator:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member CreateEllipsoid : System.Numerics.Vector3 * unativeint * unativeint * ModelIO.MDLGeometryType * bool * bool * ModelIO.IMDLMeshBufferAllocator -> ModelIO.MDLMesh

Parameters

radii
Vector3
radialSegments
UIntPtr

unativeint

verticalSegments
UIntPtr

unativeint

geometryType
MDLGeometryType
inwardNormals
Boolean
hemisphere
Boolean

Returns

Attributes

Applies to