phaser - v4.0.0-rc.4
    Preparing search index...
    type JSONGameObject = {
        alpha: number;
        blendMode: number | string;
        data: object;
        flipX: boolean;
        flipY: boolean;
        frameKey: string;
        name: string;
        origin: object;
        "origin.x": number;
        "origin.y": number;
        rotation: number;
        scale: object;
        "scale.x": number;
        "scale.y": number;
        scaleMode: number;
        textureKey: string;
        type: string;
        visible: boolean;
        x: number;
        y: number;
    }
    Index

    Properties

    alpha: number

    The alpha value of the Game Object.

    blendMode: number | string

    Sets the Blend Mode being used by this Game Object.

    data: object

    The data of this Game Object.

    flipX: boolean

    The horizontally flipped state of the Game Object.

    flipY: boolean

    The vertically flipped state of the Game Object.

    frameKey: string

    The frame key of this Game Object.

    name: string

    The name of this Game Object.

    origin: object

    The origin of this Game Object.

    "origin.x": number

    The horizontal origin of this Game Object.

    "origin.y": number

    The vertical origin of this Game Object.

    rotation: number

    The angle of this Game Object in radians.

    scale: object

    The scale of this Game Object

    "scale.x": number

    The horizontal scale of this Game Object.

    "scale.y": number

    The vertical scale of this Game Object.

    scaleMode: number

    The Scale Mode being used by this Game Object.

    textureKey: string

    The texture key of this Game Object.

    type: string

    A textual representation of this Game Object, i.e. sprite.

    visible: boolean

    The visible state of the Game Object.

    x: number

    The x position of this Game Object.

    y: number

    The y position of this Game Object.