Material |
The MaterialWithoutColorOrTexture type exposes the following members.
| Name | Description | |
|---|---|---|
| Equals(IMaterial) | Indicates whether the current object is equal to another object of the same type. (Overrides MaterialBaseEquals(IMaterial)) | |
| Equals(Object) | Determines whether the specified object is equal to the current object. (Overrides ObjectEquals(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. (Overrides ObjectGetHashCode) | |
| 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.
(Inherited from MaterialBase) | |
| 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 that the index of refraction is within the supported range.
(Inherited from MaterialBase) | |
| VerifyMetalness |
Verifies the metalness to be in the range [0, 1].
(Inherited from MaterialBase) | |
| VerifySmoothness |
Verifies that the smoothness is in the range [0, 1].
(Inherited from MaterialBase) | |
| 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.
(Overrides MaterialBaseWithColor(NamedColor)) | |
| WithIndexOfRefraction |
Gets a new instance of the material with the index of refraction set to the provided value.
(Inherited from MaterialBase) | |
| WithMetalness |
Gets a new instance of the material with the specular mixing coefficient set to the provided value.
(Inherited from MaterialBase) | |
| WithSmoothness |
Gets a new instance of the material with the smothness set to the provided value.
(Inherited from MaterialBase) | |
| WithSpecularProperties |
Gets a new instance of this material with all specular properties set to the provided values.
(Inherited from MaterialBase) | |
| WithSpecularPropertiesAs |
Returns a new material based on this material, but with all specular properties taken from the template material provided in templateMaterial.
(Inherited from MaterialBase) |