generateCylinder(height:radius:)
Creates a new cylinder mesh with the specified dimensions.
Declaration
@MainActor @preconcurrency static func generateCylinder(height: Float, radius: Float) -> MeshResourceParameters
- height:
The height of the cylinder in meters [m].
- radius:
The radius of the cylinder in meters [m].
Discussion
The cylinder is centered at the local origin.