init(boxWithExtent:segments:inwardNormals:geometryType:allocator:)
Declaration
init(boxWithExtent extent: vector_float3, segments: vector_uint3, inwardNormals: Bool, geometryType: MDLGeometryType, allocator: (any MDLMeshBufferAllocator)?)See Also
Creating Parametric Meshes
newBox(withDimensions:segments:geometryType:inwardNormals:allocator:)newEllipsoid(withRadii:radialSegments:verticalSegments:geometryType:inwardNormals:hemisphere:allocator:)newCylinder(withHeight:radii:radialSegments:verticalSegments:geometryType:inwardNormals:allocator:)newEllipticalCone(withHeight:radii:radialSegments:verticalSegments:geometryType:inwardNormals:allocator:)newPlane(withDimensions:segments:geometryType:allocator:)newCapsule(withHeight:radii:radialSegments:verticalSegments:hemisphereSegments:geometryType:inwardNormals:allocator:)newIcosahedron(withRadius:inwardNormals:allocator:)newIcosahedron(withRadius:inwardNormals:geometryType:allocator:)init(sphereWithExtent:segments:inwardNormals:geometryType:allocator:)init(cylinderWithExtent:segments:inwardNormals:topCap:bottomCap:geometryType:allocator:)init(coneWithExtent:segments:inwardNormals:cap:geometryType:allocator:)init(planeWithExtent:segments:geometryType:allocator:)init(icosahedronWithExtent:inwardNormals:geometryType:allocator:)init(capsuleWithExtent:cylinderSegments:hemisphereSegments:inwardNormals:geometryType:allocator:)init(hemisphereWithExtent:segments:inwardNormals:cap:geometryType:allocator:)