Click or drag to resize

MaterialWithoutColorOrTexture Properties

The MaterialWithoutColorOrTexture type exposes the following members.

Properties
 NameDescription
Public propertyColor Gets the diffuse color of the material.
(Overrides MaterialBaseColor)
Public propertyHasColor Gets a value indicating whether this instance has a color by itself.
(Overrides MaterialBaseHasColor)
Public propertyHasTexture Gets a value indicating whether this instance has texture.
(Overrides MaterialBaseHasTexture)
Public propertyIndexOfRefraction Gets the index of refraction.
(Inherited from MaterialBase)
Public propertyIsVisible Gets a value indicating whether this material is visible at all. There might be one material instance that could be used as a convenient place holder for null, that is treated as "no material". Drawing contexts should not draw anything if the material returns false for this property.
(Overrides MaterialBaseIsVisible)
Public propertyMetalness Mixing coefficient for specular reflection: value between 0 and 1. If 0, the reflected specular light is multiplied with the material diffuse color If 1, the reflected specular light has the same color as the incident light (thus as if it is reflected at a white surface)
(Inherited from MaterialBase)
Public propertyPhongModelDiffuseIntensity Gets the diffuse intensity term used by the Phong lighting model.
(Inherited from MaterialBase)
Public propertyPhongModelSpecularExponent Gets the specular exponent used by the Phong lighting model.
(Inherited from MaterialBase)
Public propertyPhongModelSpecularIntensity Gets the specular intensity normalized for phong model. This is the expression SpecularIntensity*(1+SpecularExponent). This pre-factor in the Phong equation ensures that the total light intensity reflected in all directions of the half sphere will not change when changing the SpecularExponent.
(Inherited from MaterialBase)
Public propertySmoothness The smothness value, a value in the range [0,1]. A value of 0 defines a rough diffuse surface, and a value of 1 a very shiny surface.
(Inherited from MaterialBase)
Top
See Also