Click or drag to resize
Texture Class
Represents a texture image that can be applied to surfaces in the 3D view
Inheritance Hierarchy
SystemObject
  ABB.Robotics.RobotStudio.StationsTexture

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 Texture

The Texture type exposes the following members.

Constructors
  NameDescription
Public methodTexture
Creates an empty texture.
Public methodTexture(Bitmap)
Creates a texture from a Bitmap
Public methodTexture(String)
Creates a texture from a file
Public methodTexture(Bitmap, TextureType)
Creates a texture from a Bitmap
Public methodTexture(String, TextureType)
Creates a texture from a file
Top
Properties
  NameDescription
Public propertyStatic memberDefaultEnvironmentMap
Returns a default texture suitable for simple environment mapping
Public propertyFileName
Gets or sets path of the bitmap file that this texture was originally created from.
Public propertyIsCubeMap
Returns true if this texture is a cube map.
Public propertyNativeTexture
Internal use only.
Public propertySize
Returns the size (in pixels) of the texture image
Public propertyTextureType
Gets the TextureType of this texture.
Top
Methods
  NameDescription
Public methodStatic memberCreateCubeMap(Bitmap)
Creates a cube map texture from 6 individual bitmaps.
Public methodStatic memberCreateCubeMap(String)
Creates a cube map texture from a single image with the six sides stacked horizontally
Public methodStatic memberCreateCubeMap(String)
Creates a cube map texture from 6 individual images.
Public methodStatic memberCreateNormalMapFromHeightMap Obsolete.
This method is obsolete. RobotStudio will automatically detect grayscale images and treat them as height maps if TextureType is set to NormalMap when creating new Textures.
Public methodStatic memberCreateParallaxBumpMap Obsolete.
Public methodEquals (Overrides ObjectEquals(Object).)
Protected methodFinalize (Overrides ObjectFinalize.)
Public methodStatic memberGetAllTextures
Returns an array containing all textures that are currently in memory.
Public methodGetHashCode (Overrides ObjectGetHashCode.)
Public methodGetImage
Returns the texture as a Bitmap, if supported. Otherwise null is returned.
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodSetImage
Replaces the texture image with a new one
Public methodToString (Overrides ObjectToString.)
Top
Version Information

Supported in: 1.0.0.0
See Also