phaser - v4.0.0-rc.4
    Preparing search index...

    Interface IBodyRenderOptions

    interface IBodyRenderOptions {
        fillColor?: number;
        fillOpacity?: number;
        lineColor?: number;
        lineOpacity?: number;
        lineThickness?: number;
        opacity?: number;
        sprite?: MatterJS.IBodyRenderOptionsSprite;
        visible?: boolean;
    }
    Index

    Properties

    fillColor?: number

    A hex color value that defines the fill color to use when rendering the body.

    fillOpacity?: number

    A value that defines the fill opacity to use when rendering the body.

    lineColor?: number

    A hex color value that defines the line color to use when rendering the body.

    lineOpacity?: number

    A value that defines the line opacity to use when rendering the body.

    lineThickness?: number

    A Number that defines the line width to use when rendering the body outline.

    opacity?: number

    Sets the opacity. 1.0 is fully opaque. 0.0 is fully translucent.

    1
    

    An Object that defines the sprite properties to use when rendering, if any.

    visible?: boolean

    A flag that indicates if the body should be rendered.

    true