---
title: "setProperties(_:)"
framework: modelio
role: symbol
role_heading: Instance Method
path: "modelio/mdlmaterialproperty/setproperties(_:)"
---

# setProperties(_:)

Sets the material property’s attributes to those of the specified material property.

## Declaration

```swift
func setProperties(_ property: MDLMaterialProperty)
```

## Parameters

- `property`: The material property from which to copy data.

## Discussion

Discussion Use this method to copy data from one MDLMaterialProperty instance to another—for example, to make one material property of a MDLScatteringFunction object match the value of another.
