Click or drag to resize

MaterialWithoutColorOrTexture Methods

The MaterialWithoutColorOrTexture type exposes the following members.

Methods
 NameDescription
Public methodEquals(IMaterial)Indicates whether the current object is equal to another object of the same type.
(Overrides MaterialBaseEquals(IMaterial))
Public methodEquals(Object)Determines whether the specified object is equal to the current object.
(Overrides ObjectEquals(Object))
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Overrides ObjectGetHashCode)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodHasSameSpecularPropertiesAs Determines whether this material has the same specular properties as the material provided in anotherMaterial.
(Inherited from MaterialBase)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Protected methodVerifyIndexOfRefraction Verifies that the index of refraction is within the supported range.
(Inherited from MaterialBase)
Protected methodVerifyMetalness Verifies the metalness to be in the range [0, 1].
(Inherited from MaterialBase)
Protected methodVerifySmoothness Verifies that the smoothness is in the range [0, 1].
(Inherited from MaterialBase)
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.
(Overrides MaterialBaseWithColor(NamedColor))
Public methodWithIndexOfRefraction Gets a new instance of the material with the index of refraction set to the provided value.
(Inherited from MaterialBase)
Public methodWithMetalness Gets a new instance of the material with the specular mixing coefficient set to the provided value.
(Inherited from MaterialBase)
Public methodWithSmoothness Gets a new instance of the material with the smothness set to the provided value.
(Inherited from MaterialBase)
Public methodWithSpecularProperties Gets a new instance of this material with all specular properties set to the provided values.
(Inherited from MaterialBase)
Public methodWithSpecularPropertiesAs Returns a new material based on this material, but with all specular properties taken from the template material provided in templateMaterial.
(Inherited from MaterialBase)
Top
See Also