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

    Type Alias MatterConstraintRenderConfig

    type MatterConstraintRenderConfig = {
        anchorColor?: number;
        anchors?: boolean;
        anchorSize?: number;
        lineColor?: number;
        lineOpacity?: number;
        lineThickness?: number;
        pinSize?: number;
        visible?: boolean;
    }
    Index

    Properties

    anchorColor?: number

    The color value of constraint anchors.

    anchors?: boolean

    If this constraint has anchors, should they be rendered? Pin constraints never have anchors.

    anchorSize?: number

    The size of the circles drawn as the constraint anchors.

    lineColor?: number

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

    lineOpacity?: number

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

    lineThickness?: number

    If rendering lines, the thickness of the line.

    pinSize?: number

    The size of the circles drawn when rendering pin constraints.

    visible?: boolean

    Should this constraint be rendered by the Debug Renderer?