Click or drag to resize

MaterialWithoutColorOrTexture Class

[Missing <summary> documentation for "T:Altaxo.Drawing.D3D.Material.MaterialWithoutColorOrTexture"]

Inheritance Hierarchy
SystemObject
  Altaxo.Drawing.D3D.MaterialMaterialBase
    Altaxo.Drawing.D3D.MaterialMaterialWithoutColorOrTexture

Namespace: Altaxo.Drawing.D3D.Material
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public class MaterialWithoutColorOrTexture : MaterialBase

The MaterialWithoutColorOrTexture type exposes the following members.

Constructors
 NameDescription
Public methodMaterialWithoutColorOrTextureInitializes a new instance of the MaterialWithoutColorOrTexture class
Public methodMaterialWithoutColorOrTexture(Double, Double, Double)Initializes a new instance of the MaterialWithoutColorOrTexture class
Top
Properties
 NameDescription
Public propertyColor
(Overrides MaterialBaseColor)
Public propertyHasColor
(Overrides MaterialBaseHasColor)
Public propertyHasTexture
(Overrides MaterialBaseHasTexture)
Public propertyIndexOfRefraction
(Inherited from MaterialBase)
Public propertyIsVisible
(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
(Inherited from MaterialBase)
Public propertyPhongModelSpecularExponent
(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
Methods
 NameDescription
Public methodEquals(IMaterial)
(Overrides MaterialBaseEquals(IMaterial))
Public methodEquals(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 methodGetHashCode
(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 the specular mixing coefficient to be in the range [0, 1].
(Inherited from MaterialBase)
Protected methodVerifyMetalness Verifies the metalness to be in the range [0, 1].
(Inherited from MaterialBase)
Protected methodVerifySmoothness Verifies the smothness to be in the range [0,1]
(Inherited from MaterialBase)
Public methodWithColor
(Overrides MaterialBaseWithColor(NamedColor))
Public methodWithIndexOfRefraction Gets a new instance of the material with the specular mixing coefficient 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
Fields
 NameDescription
Protected field_indexOfRefraction The index of refraction. i.e. a value between 1 and infinity.
(Inherited from MaterialBase)
Protected field_metalness Value between 0 and 1. A value of 0 indicates a plastic like surface, a value of 1 a metal like surface. If 0, the reflected specular light has the same color as the incident light (thus as if it is reflected at a white surface). This is the behaviour of plastic surfaces. If 1, the reflected specular light is multiplied with the material diffuse color. This is the behaviour of metals like gold.
(Inherited from MaterialBase)
Protected field_smoothness A value between 0 and 1. A value of 0 defines a rough surface, a value of 1 a very shiny one.
(Inherited from MaterialBase)
Top
See Also