---
title: "propertyNamed(_:)"
framework: modelio
role: symbol
role_heading: Instance Method
path: "modelio/mdlmaterial/propertynamed(_:)"
---

# propertyNamed(_:)

Returns the material property with the specified name.

## Declaration

```swift
func propertyNamed(_ name: String) -> MDLMaterialProperty?
```

## Parameters

- `name`: The doc://com.apple.modelio/documentation/ModelIO/MDLMaterialProperty/name value of a material property in the material.

## Return Value

Return Value The material property with the specified name, or nil if the material does not contain a material property with that name.

## Discussion

Discussion Material property names are not related to their use in rendering. Instead, you can assign descriptive names to material properties and use this method to keep track of them.

## See Also

### Working with individual material properties

- [property(with:)](modelio/mdlmaterial/property(with:).md)
- [properties(with:)](modelio/mdlmaterial/properties(with:).md)
- [setProperty(_:)](modelio/mdlmaterial/setproperty(_:).md)
- [remove(_:)](modelio/mdlmaterial/remove(_:).md)
- [removeAllProperties()](modelio/mdlmaterial/removeallproperties().md)
