Initializer

init(cylinderWithExtent:segments:inwardNormals:topCap:bottomCap:geometryType:allocator:)

No overview available.

Declaration

init(cylinderWithExtent extent: vector_float3, segments: vector_uint2, inwardNormals: Bool, topCap: Bool, bottomCap: Bool, geometryType: MDLGeometryType, allocator: MDLMeshBufferAllocator?)

See Also

Creating Parametric Meshes

class func newIcosahedron(withRadius: Float, inwardNormals: Bool, allocator: MDLMeshBufferAllocator?) -> Self

Generates a mesh in the shape of a regular 20-sided polyhedron with triangular faces.