Contents

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.