IMaterial Methods |
The IMaterial type exposes the following members.
Name | Description | |
---|---|---|
Equals | Indicates whether the current object is equal to another object of the same type. (Inherited from IEquatableIMaterial) | |
HasSameSpecularPropertiesAs | Determines whether this material has the same specular properties as the material provided in anotherMaterial. | |
WithColor | 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. | |
WithSpecularProperties | Gets a new instance of this material with the specular properties set to the provided values. | |
WithSpecularPropertiesAs | Returns a new material based on this material, but with all specular properties taken from the template material provided in templateMaterial. |