Instance Method

setProperties:

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

Declaration

- (void)setProperties:(MDLMaterialProperty *)property;

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.