<!--
{
  "availability" : [
    "iOS: 9.0.0 -",
    "iPadOS: 9.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.11.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ModelIO",
  "identifier" : "/documentation/ModelIO/MDLMaterialProperty/setProperties(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Model I/O"
    ],
    "preciseIdentifier" : "c:objc(cs)MDLMaterialProperty(im)setProperties:"
  },
  "title" : "setProperties(_:)"
}
-->

# setProperties(_:)

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

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

## Parameters

`property`

The material property from which to copy data.

## Discussion

Use this method to copy data from one [`MDLMaterialProperty`](/documentation/ModelIO/MDLMaterialProperty) instance to another—for example, to make one material property of a [`MDLScatteringFunction`](/documentation/ModelIO/MDLScatteringFunction) object match the value of another.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)