Instance Method

setProperties(_:)

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

Declaration

func setProperties(_ property: MDLMaterialProperty)

Parameters

property

The material property from which to copy data.

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.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software