Class TextureFactory
Inheritance
object
TextureFactory
Assembly: ABB.Robotics.RobotStudio.Stations.Forms.dll
Syntax
public static class TextureFactory
Methods
View Source
Create(Bitmap)
Creates a texture from a Bitmap
Declaration
public static Texture Create(Bitmap bitmap)
Parameters
| Type |
Name |
Description |
| Bitmap |
bitmap |
|
Returns
View Source
Create(Bitmap, TextureType)
Creates a texture from a Bitmap
Declaration
public static Texture Create(Bitmap bitmap, TextureType type)
Parameters
Returns
View Source
CreateCubeMap(Bitmap[])
Creates a cube map texture from 6 individual bitmaps.
Declaration
public static Texture CreateCubeMap(Bitmap[] bitmaps)
Parameters
| Type |
Name |
Description |
| Bitmap[] |
bitmaps |
|
Returns
View Source
CreateCubeMap(string)
Creates a cube map texture from a single image with the six sides stacked
horizontally
Declaration
public static Texture CreateCubeMap(string fileName)
Parameters
| Type |
Name |
Description |
| string |
fileName |
|
Returns
View Source
CreateCubeMap(string[])
Creates a cube map texture from 6 individual images.
Declaration
public static Texture CreateCubeMap(string[] fileNames)
Parameters
| Type |
Name |
Description |
| string[] |
fileNames |
|
Returns