Esposter
    Preparing search index...

    Interface AlphaConfiguration

    interface AlphaConfiguration {
        alpha: number;
        alphaBottomLeft: number;
        alphaBottomRight: number;
        alphaTopLeft: number;
        alphaTopRight: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    alpha: number

    The alpha value of the Game Object, between 0 (fully transparent) and 1 (fully opaque).

    This is a global value that impacts the entire Game Object. Setting it also updates all four corner alpha values (alphaTopLeft, alphaTopRight, alphaBottomLeft, alphaBottomRight) to the same value. The input is clamped to the range [0, 1].

    alphaBottomLeft: number

    The alpha value starting from the bottom-left of the Game Object. This value is interpolated from the corner to the center of the Game Object.

    alphaBottomRight: number

    The alpha value starting from the bottom-right of the Game Object. This value is interpolated from the corner to the center of the Game Object.

    alphaTopLeft: number

    The alpha value starting from the top-left of the Game Object. This value is interpolated from the corner to the center of the Game Object.

    alphaTopRight: number

    The alpha value starting from the top-right of the Game Object. This value is interpolated from the corner to the center of the Game Object.