phaser - v4.0.0-rc.4
    Preparing search index...
    type MatterDebugConfig = {
        anchorColor?: number;
        anchorSize?: number;
        angleColor?: number;
        boundsColor?: number;
        broadphaseColor?: number;
        collisionColor?: number;
        fillColor?: number;
        fillOpacity?: number;
        hullColor?: number;
        jointColor?: number;
        jointLineOpacity?: number;
        jointLineThickness?: number;
        lineColor?: number;
        lineOpacity?: number;
        lineThickness?: number;
        pinColor?: number;
        pinSize?: number;
        positionColor?: number;
        positionSize?: number;
        renderFill?: boolean;
        renderLine?: boolean;
        sensorFillColor?: number;
        sensorLineColor?: number;
        separationColor?: number;
        showAngleIndicator?: boolean;
        showAxes?: boolean;
        showBody?: boolean;
        showBounds?: boolean;
        showBroadphase?: boolean;
        showCollisions?: boolean;
        showConvexHulls?: boolean;
        showInternalEdges?: boolean;
        showJoint?: boolean;
        showPositions?: boolean;
        showSensors?: boolean;
        showSeparation?: boolean;
        showSleeping?: boolean;
        showStaticBody?: boolean;
        showVelocity?: boolean;
        sleepFillColor?: number;
        sleepLineColor?: number;
        springColor?: number;
        staticBodySleepOpacity?: number;
        staticFillColor?: number;
        staticLineColor?: number;
        velocityColor?: number;
    }
    Index

    Properties

    anchorColor?: number

    The color value of constraint anchors.

    anchorSize?: number

    The size of the circles drawn as the constraint anchors.

    angleColor?: number

    The color of the body angle / axes lines.

    boundsColor?: number

    The color of the body bounds.

    broadphaseColor?: number

    The color of the broadphase grid.

    collisionColor?: number

    The color of the collision points.

    fillColor?: number

    The color value of the fill when rendering dynamic bodies.

    fillOpacity?: number

    The opacity of the fill when rendering dynamic bodies, a value between 0 and 1.

    hullColor?: number

    The color value of hulls when showConvexHulls is set.

    jointColor?: number

    The color value of joints when showJoint is set.

    jointLineOpacity?: number

    The line opacity when rendering joints, a value between 0 and 1.

    jointLineThickness?: number

    The line thickness when rendering joints.

    lineColor?: number

    The color value of the line stroke when rendering dynamic bodies.

    lineOpacity?: number

    The opacity of the line when rendering dynamic bodies, a value between 0 and 1.

    lineThickness?: number

    If rendering lines, the thickness of the line.

    pinColor?: number

    The color value of the circles drawn when rendering pin constraints.

    pinSize?: number

    The size of the circles drawn when rendering pin constraints.

    positionColor?: number

    The color value of the rectangle drawn when rendering the body position.

    positionSize?: number

    The size of the rectangle drawn when rendering the body position.

    renderFill?: boolean

    Render the bodies using a fill color.

    renderLine?: boolean

    Render the bodies using a line stroke.

    sensorFillColor?: number

    The fill color when rendering body sensors.

    sensorLineColor?: number

    The line color when rendering body sensors.

    separationColor?: number

    The color of the body separation line.

    showAngleIndicator?: boolean

    Render just a single body axis?

    showAxes?: boolean

    Render all of the body axes?

    showBody?: boolean

    Render the dynamic bodies in the world to the Graphics object?

    showBounds?: boolean

    Render the bounds of the bodies in the world?

    showBroadphase?: boolean

    Render the broadphase grid?

    showCollisions?: boolean

    Render the collision points and normals for colliding pairs.

    showConvexHulls?: boolean

    When rendering polygon bodies, render the convex hull as well?

    showInternalEdges?: boolean

    When rendering bodies, render the internal edges as well?

    showJoint?: boolean

    Render all world constraints to the Graphics object?

    showPositions?: boolean

    Render the position of non-static bodies?

    showSensors?: boolean

    Render bodies or body parts that are flagged as being a sensor?

    showSeparation?: boolean

    Render lines showing the separation between bodies.

    showSleeping?: boolean

    Render any sleeping bodies (dynamic or static) in the world to the Graphics object?

    showStaticBody?: boolean

    Render the static bodies in the world to the Graphics object?

    showVelocity?: boolean

    Render the velocity of the bodies in the world?

    sleepFillColor?: number

    The color value of the fill when rendering sleeping dynamic bodies.

    sleepLineColor?: number

    The color value of the line stroke when rendering sleeping dynamic bodies.

    springColor?: number

    The color value of spring constraints.

    staticBodySleepOpacity?: number

    The amount to multiply the opacity of sleeping static bodies by.

    staticFillColor?: number

    The color value of the fill when rendering static bodies.

    staticLineColor?: number

    The color value of the line stroke when rendering static bodies.

    velocityColor?: number

    The color of the body velocity line.