phaser - v4.0.0-rc.4
    Preparing search index...
    type MatterBodyRenderConfig = {
        fillColor?: number;
        fillOpacity?: number;
        lineColor?: number;
        lineOpacity?: number;
        lineThickness?: number;
        opacity?: number;
        sprite?: object;
        "sprite.xOffset"?: number;
        "sprite.yOffset"?: number;
        visible?: boolean;
    }
    Index

    Properties

    fillColor?: number

    The color value of the fill when rendering this body.

    fillOpacity?: number

    The opacity of the fill when rendering this body, a value between 0 and 1.

    lineColor?: number

    The color value of the line stroke when rendering this body.

    lineOpacity?: number

    The opacity of the line when rendering this body, a value between 0 and 1.

    lineThickness?: number

    If rendering lines, the thickness of the line.

    opacity?: number

    The opacity of the body and all parts within it.

    sprite?: object

    Controls the offset between the body and the parent Game Object, if it has one.

    "sprite.xOffset"?: number

    The horizontal offset between the body and the parent Game Object texture, if it has one.

    "sprite.yOffset"?: number

    The vertical offset between the body and the parent Game Object texture, if it has one.

    visible?: boolean

    Should this body be rendered by the Debug Renderer?