phaser - v4.0.0-rc.4
    Preparing search index...
    type Member = {
        alpha: number | MemberAnimation;
        alphaBottomLeft: number;
        alphaBottomRight: number;
        alphaTopLeft: number;
        alphaTopRight: number;
        animation?: string | number;
        creationTime: number;
        frame: string | number | Object;
        originX: number;
        originY: number;
        rotation: number | MemberAnimation;
        scaleX: number | MemberAnimation;
        scaleY: number | MemberAnimation;
        scrollFactorX: number;
        scrollFactorY: number;
        tintBlend: number | MemberAnimation;
        tintBottomLeft: number;
        tintBottomRight: number;
        tintFill: boolean;
        tintTopLeft: number;
        tintTopRight: number;
        x: number | MemberAnimation;
        y: number | MemberAnimation;
    }
    Index

    Properties

    alpha: number | MemberAnimation

    The alpha value of the member, in the range 0-1. This multiplies all four corner alpha values, and can be animated.

    alphaBottomLeft: number

    The bottom-left alpha value of the member, in the range 0-1.

    alphaBottomRight: number

    The bottom-right alpha value of the member, in the range 0-1.

    alphaTopLeft: number

    The top-left alpha value of the member, in the range 0-1.

    alphaTopRight: number

    The top-right alpha value of the member, in the range 0-1.

    animation?: string | number

    The animation to use. If not set, the member will use frame as a static texture.

    creationTime: number

    The time the member was created. This is measured from the initialization of layer.timeElapsed. Use this to control members added after the layer was created.

    frame: string | number | Object

    The frame of the member. You can pass a frame name, the index of the frame in its texture, or a Phaser.Types.Textures.Frame object. The frame must exist in the texture the member is using.

    originX: number

    The X pivot of the frame. Default 0.5, in the range 0 to 1 across the frame. If the frame has a custom pivot, it will offset this value.

    originY: number

    The Y pivot of the frame. Default 0.5, in the range 0 to 1 across the frame. If the frame has a custom pivot, it will offset this value.

    rotation: number | MemberAnimation

    The rotation of the member.

    scaleX: number | MemberAnimation

    The x scale of the member.

    scaleY: number | MemberAnimation

    The y scale of the member.

    scrollFactorX: number

    The horizontal camera scroll factor of the member.

    scrollFactorY: number

    The vertical camera scroll factor y of the member.

    tintBlend: number | MemberAnimation

    The tint blend mode of the member. 0 is no tint (equivalent to white), 1 is full tint. Use this to animate tint values, which are otherwise too complex to animate.

    tintBottomLeft: number

    The bottom-left tint color of the member, as a 24-bit RGB value.

    tintBottomRight: number

    The bottom-right tint color of the member, as a 24-bit RGB value.

    tintFill: boolean

    Whether the member should be filled with the tint color. If false, the member texture will be multiplied by the tint. If true, the member will use the texture alpha and the tint color.

    tintTopLeft: number

    The top-left tint color of the member, as a 24-bit RGB value.

    tintTopRight: number

    The top-right tint color of the member, as a 24-bit RGB value.

    x: number | MemberAnimation

    The x position of the member.

    y: number | MemberAnimation

    The y position of the member.