Texture Class |
Namespace: ABB.Robotics.RobotStudio.Stations
public class Texture
The Texture type exposes the following members.
Name | Description | |
---|---|---|
Texture |
Creates an empty texture.
| |
Texture(Bitmap) |
Creates a texture from a Bitmap
| |
Texture(String) |
Creates a texture from a file
| |
Texture(Bitmap, TextureType) |
Creates a texture from a Bitmap
| |
Texture(String, TextureType) |
Creates a texture from a file
|
Name | Description | |
---|---|---|
DefaultEnvironmentMap |
Returns a default texture suitable for simple environment mapping
| |
FileName |
Gets or sets path of the bitmap file that this texture was originally created from.
| |
IsCubeMap |
Returns true if this texture is a cube map.
| |
NativeTexture |
Internal use only.
| |
Size |
Returns the size (in pixels) of the texture image
| |
TextureType |
Gets the TextureType of this texture.
|
Name | Description | |
---|---|---|
CreateCubeMap(Bitmap) |
Creates a cube map texture from 6 individual bitmaps.
| |
CreateCubeMap(String) |
Creates a cube map texture from a single image with the six sides stacked
horizontally
| |
CreateCubeMap(String) |
Creates a cube map texture from 6 individual images.
| |
CreateNormalMapFromHeightMap | 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.
| |
CreateParallaxBumpMap | Obsolete. | |
Equals | (Overrides ObjectEquals(Object).) | |
Finalize | (Overrides ObjectFinalize.) | |
GetAllTextures |
Returns an array containing all textures that are currently in memory.
| |
GetHashCode | (Overrides ObjectGetHashCode.) | |
GetImage |
Returns the texture as a Bitmap, if supported. Otherwise null is returned.
| |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
SetImage |
Replaces the texture image with a new one
| |
ToString | (Overrides ObjectToString.) |