Click or drag to resize

IMaterial Methods

The IMaterial type exposes the following members.

Methods
 NameDescription
Public methodEqualsIndicates whether the current object is equal to another object of the same type.
(Inherited from IEquatableIMaterial)
Public methodHasSameSpecularPropertiesAs Determines whether this material has the same specular properties as the material provided in anotherMaterial.
Public methodWithColor Gets a new instance of this material with the color set to the provided values. Material classes that don't support color should not throw an exception, but simply return the same instance.
Public methodWithSpecularProperties Gets a new instance of this material with the specular properties set to the provided values.
Public methodWithSpecularPropertiesAs Returns a new material based on this material, but with all specular properties taken from the template material provided in templateMaterial.
Top
See Also