Material.CopyFrom(Material) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Copies material properties from another material.
public:
void CopyFrom(Microsoft::Azure::RemoteRendering::Material ^ other);
public void CopyFrom (Microsoft.Azure.RemoteRendering.Material other);
member this.CopyFrom : Microsoft.Azure.RemoteRendering.Material -> unit
Public Sub CopyFrom (other As Material)
Parameters
- other
- Material
The material from which to copy properties.
Remarks
If the material types don't match, only common properties such as albedo color and texture are copied.
A InvalidParam error occurs if 'other' is an invalid material.