init(shape:)
Generates a MeshResource from a ShapeResource.
Declaration
@MainActor @preconcurrency convenience init(shape resource: ShapeResource)Parameters
- resource:
The ShapeResource which will be used for generating the mesh.
Generates a MeshResource from a ShapeResource.
@MainActor @preconcurrency convenience init(shape resource: ShapeResource)The ShapeResource which will be used for generating the mesh.