Click or drag to resize
Material Class
Specifies the appearance of a surface in the 3D graphics.
Inheritance Hierarchy
SystemObject
  ABB.Robotics.RobotStudio.StationsMaterial

Namespace:  ABB.Robotics.RobotStudio.Stations
Assembly:  ABB.Robotics.RobotStudio.Stations (in ABB.Robotics.RobotStudio.Stations.dll) Version: 7.0.8747.636
Syntax
C#
public class Material

The Material type exposes the following members.

Constructors
  NameDescription
Public methodMaterial
Creates a new Material with a default (gray) color.
Public methodMaterial(Color)
Creates a new Material with the given color.
Public methodMaterial(Texture)
Creates a new Material with the given texture.
Public methodMaterial(Color, Color, Color, Color, Int32)
Creates a new Material with the given color parameters
Top
Properties
  NameDescription
Public propertyAmbient
Gets or sets the ambient color component. The ambient color is applied uniformly to an object regardless of light and view direction.
Public propertyBaseTexture
Gets or sets the base color texture.
Public propertyBlend Obsolete.
Gets or sets whether the result of the color properties (ambient, diffuse, specular, emissive, shininess) should be blended with the texture-based effects.
Public propertyBlendMode
Gets or sets how the result of the color properties (ambient, diffuse, specular, emissive, shininess) should be blended with the texture-based effects.
Public propertyDiffuse
Gets or sets the diffuse color component. The diffuse color represents the light reflected from a matte surface.
Public propertyEffect Obsolete.
Public propertyEmissive
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.
Public propertyEnvironmentMap
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.
Public propertyIsEmpty
Returns true if this material is empty.
Public propertyNormalMap
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.
Public propertyShininess
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.
Public propertySpecular
Gets or sets the specular color component. The specular color represents the shiny effect resulting from a reflective surface.
Public propertyTextureLuminosity
Gets or sets the luminosity of the base texture, which defines how the texture is lighted.
Public propertyTextureMatrix
Specifies and offset and rotation for the textures
Public propertyTextureSize
Gets or sets a desired width and height, in meters, of the base texture and normal map when applied to a surface.
Top
Methods
  NameDescription
Public methodClone
Creates a copy of this Material.
Public methodEquals (Overrides ObjectEquals(Object).)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Overrides ObjectGetHashCode.)
Public methodGetSimpleColor
Gets the basic color from the material.
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodSetSimpleColor
Sets the basic color and automatically calculate material properties like specular color, diffuse color etc.
Public methodStatic memberSrgbToLinear
Converts an sRGB color value to linear
Public methodToString (Inherited from Object.)
Top
Fields
  NameDescription
Public fieldStatic memberEmpty
An empty material.
Top
Version Information

Supported in: 1.0.0.0
See Also