---
title: "init(coneWithExtent:segments:inwardNormals:cap:geometryType:allocator:)"
framework: modelio
role: symbol
role_heading: Initializer
path: "modelio/mdlmesh/init(conewithextent:segments:inwardnormals:cap:geometrytype:allocator:)"
---

# init(coneWithExtent:segments:inwardNormals:cap:geometryType:allocator:)

## Declaration

```swift
init(coneWithExtent extent: vector_float3, segments: vector_uint2, inwardNormals: Bool, cap: Bool, geometryType: MDLGeometryType, allocator: (any MDLMeshBufferAllocator)?)
```

## See Also

### Creating Parametric Meshes

- [newBox(withDimensions:segments:geometryType:inwardNormals:allocator:)](modelio/mdlmesh/newbox(withdimensions:segments:geometrytype:inwardnormals:allocator:).md)
- [newEllipsoid(withRadii:radialSegments:verticalSegments:geometryType:inwardNormals:hemisphere:allocator:)](modelio/mdlmesh/newellipsoid(withradii:radialsegments:verticalsegments:geometrytype:inwardnormals:hemisphere:allocator:).md)
- [newCylinder(withHeight:radii:radialSegments:verticalSegments:geometryType:inwardNormals:allocator:)](modelio/mdlmesh/newcylinder(withheight:radii:radialsegments:verticalsegments:geometrytype:inwardnormals:allocator:).md)
- [newEllipticalCone(withHeight:radii:radialSegments:verticalSegments:geometryType:inwardNormals:allocator:)](modelio/mdlmesh/newellipticalcone(withheight:radii:radialsegments:verticalsegments:geometrytype:inwardnormals:allocator:).md)
- [newPlane(withDimensions:segments:geometryType:allocator:)](modelio/mdlmesh/newplane(withdimensions:segments:geometrytype:allocator:).md)
- [newCapsule(withHeight:radii:radialSegments:verticalSegments:hemisphereSegments:geometryType:inwardNormals:allocator:)](modelio/mdlmesh/newcapsule(withheight:radii:radialsegments:verticalsegments:hemispheresegments:geometrytype:inwardnormals:allocator:).md)
- [newIcosahedron(withRadius:inwardNormals:allocator:)](modelio/mdlmesh/newicosahedron(withradius:inwardnormals:allocator:).md)
- [newIcosahedron(withRadius:inwardNormals:geometryType:allocator:)](modelio/mdlmesh/newicosahedron(withradius:inwardnormals:geometrytype:allocator:).md)
- [init(boxWithExtent:segments:inwardNormals:geometryType:allocator:)](modelio/mdlmesh/init(boxwithextent:segments:inwardnormals:geometrytype:allocator:).md)
- [init(sphereWithExtent:segments:inwardNormals:geometryType:allocator:)](modelio/mdlmesh/init(spherewithextent:segments:inwardnormals:geometrytype:allocator:).md)
- [init(cylinderWithExtent:segments:inwardNormals:topCap:bottomCap:geometryType:allocator:)](modelio/mdlmesh/init(cylinderwithextent:segments:inwardnormals:topcap:bottomcap:geometrytype:allocator:).md)
- [init(planeWithExtent:segments:geometryType:allocator:)](modelio/mdlmesh/init(planewithextent:segments:geometrytype:allocator:).md)
- [init(icosahedronWithExtent:inwardNormals:geometryType:allocator:)](modelio/mdlmesh/init(icosahedronwithextent:inwardnormals:geometrytype:allocator:).md)
- [init(capsuleWithExtent:cylinderSegments:hemisphereSegments:inwardNormals:geometryType:allocator:)](modelio/mdlmesh/init(capsulewithextent:cylindersegments:hemispheresegments:inwardnormals:geometrytype:allocator:).md)
- [init(hemisphereWithExtent:segments:inwardNormals:cap:geometryType:allocator:)](modelio/mdlmesh/init(hemispherewithextent:segments:inwardnormals:cap:geometrytype:allocator:).md)
