subscript(_:)

Accesses the material with the given name, returning nil if no material with that name exists.

Declaration

subscript(name: String) -> ClothSimulationComponent.Material? { get set }