meshPartIndex(modelID:partID:)
Get the mesh part index for a given model and part identifier.
Declaration
@MainActor @preconcurrency func meshPartIndex(modelID: String, partID: String) -> Int?Discussion
You can use this to resolve string names to part indices for use in MeshInstancesComponent.