Search Results for

    Show / Hide Table of Contents

    Class TextureFactory

    Inheritance
    object
    TextureFactory
    Namespace: ABB.Robotics.RobotStudio.Stations.Forms
    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
    Type Description
    Texture
    View Source

    Create(Bitmap, TextureType)

    Creates a texture from a Bitmap

    Declaration
    public static Texture Create(Bitmap bitmap, TextureType type)
    Parameters
    Type Name Description
    Bitmap bitmap
    TextureType type
    Returns
    Type Description
    Texture
    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
    Type Description
    Texture
    Remarks

    The order of the bitmaps are: posx, negx, posy, negy, posz, negz +y -x +z +x -z -y

    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
    Type Description
    Texture
    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
    Type Description
    Texture
    • View Source
    In this article
    Back to top Copyright © 2026 ABB Robotics