Material |
The MaterialBase type exposes the following members.
Name | Description | |
---|---|---|
Equals(IMaterial) | Indicates whether the current object is equal to another object of the same type. | |
Equals(Object) | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
GetHashCode | Serves as the default hash function. (Inherited from Object) | |
GetType | Gets the Type of the current instance. (Inherited from Object) | |
HasSameSpecularPropertiesAs | Determines whether this material has the same specular properties as the material provided in anotherMaterial. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
ToString | Returns a string that represents the current object. (Inherited from Object) | |
VerifyIndexOfRefraction | Verifies the specular mixing coefficient to be in the range [0, 1]. | |
VerifyMetalness | Verifies the metalness to be in the range [0, 1]. | |
VerifySmoothness | Verifies the smothness to be in the range [0,1] | |
WithColor | ||
WithIndexOfRefraction | Gets a new instance of the material with the specular mixing coefficient set to the provided value. | |
WithMetalness | Gets a new instance of the material with the specular mixing coefficient set to the provided value. | |
WithSmoothness | Gets a new instance of the material with the smothness set to the provided value. | |
WithSpecularProperties | Gets a new instance of this material with all 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. |