MDLMesh.CreateEllipsoid Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[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
- allocator
- IMDLMeshBufferAllocator
Returns
- Attributes