MDLMesh.CreateEllipticalCone 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("newEllipticalConeWithHeight:radii:radialSegments:verticalSegments:geometryType:inwardNormals:allocator:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static ModelIO.MDLMesh CreateEllipticalCone(float height, System.Numerics.Vector2 radii, UIntPtr radialSegments, UIntPtr verticalSegments, ModelIO.MDLGeometryType geometryType, bool inwardNormals, ModelIO.IMDLMeshBufferAllocator? allocator);
[<Foundation.Export("newEllipticalConeWithHeight:radii:radialSegments:verticalSegments:geometryType:inwardNormals:allocator:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member CreateEllipticalCone : single * System.Numerics.Vector2 * unativeint * unativeint * ModelIO.MDLGeometryType * bool * ModelIO.IMDLMeshBufferAllocator -> ModelIO.MDLMesh
Parameters
- height
- Single
- radii
- Vector2
- radialSegments
-
UIntPtr
unativeint
- verticalSegments
-
UIntPtr
unativeint
- geometryType
- MDLGeometryType
- inwardNormals
- Boolean
- allocator
- IMDLMeshBufferAllocator
Returns
- Attributes