Material Class |
Namespace: ABB.Robotics.RobotStudio.Stations
public class Material
The Material type exposes the following members.
Name | Description | |
---|---|---|
Material |
Creates a new Material with a default (gray) color.
| |
Material(Color) |
Creates a new Material with the given color.
| |
Material(Texture) |
Creates a new Material with the given texture.
| |
Material(Color, Color, Color, Color, Int32) |
Creates a new Material with the given color parameters
|
Name | Description | |
---|---|---|
Ambient |
Gets or sets the ambient color component. The ambient color is applied uniformly to an
object regardless of light and view direction.
| |
BaseTexture |
Gets or sets the base color texture.
| |
Blend | Obsolete.
Gets or sets whether the result of the color properties (ambient, diffuse, specular, emissive, shininess) should be blended
with the texture-based effects.
| |
BlendMode |
Gets or sets how the result of the color properties (ambient, diffuse, specular, emissive, shininess) should be blended
with the texture-based effects.
| |
Diffuse |
Gets or sets the diffuse color component. The diffuse color represents the light reflected from a
matte surface.
| |
Effect | Obsolete. | |
Emissive |
Gets or sets the emissive color component. It behaves similar to the ambient color, except it is independent
of the color of the light source.
| |
EnvironmentMap |
Gets or sets the environment map texture. The environment map is used to simulate a reflective surface.
The texture in the environment map will be reflected by the surface it is applied to.
| |
IsEmpty |
Returns true if this material is empty.
| |
NormalMap |
Gets or sets the normal map texture. The normal map contains perturbations of the surface normal encoded as RGB values.
It is used by the various bump mapping effects.
| |
Shininess |
Gets or sets the coefficent for specular lighting. It affects the tightness of the specular highlight.
The value has to be between 0 and 128. The default value is 30.
| |
Specular |
Gets or sets the specular color component. The specular color represents the shiny effect resulting
from a reflective surface.
| |
TextureLuminosity |
Gets or sets the luminosity of the base texture, which defines how
the texture is lighted.
| |
TextureMatrix |
Specifies and offset and rotation for the textures
| |
TextureSize |
Gets or sets a desired width and height, in meters, of the base texture and normal map when applied to a surface.
|
Name | Description | |
---|---|---|
Clone |
Creates a copy of this Material.
| |
Equals | (Overrides ObjectEquals(Object).) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Overrides ObjectGetHashCode.) | |
GetSimpleColor |
Gets the basic color from the material.
| |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
SetSimpleColor |
Sets the basic color and automatically calculate material properties like specular color, diffuse color etc.
| |
SrgbToLinear |
Converts an sRGB color value to linear
| |
ToString | (Inherited from Object.) |