mooball
    Preparing search index...

    Interface UpdateSegmentParams

    interface UpdateSegmentParams {
        bCoef?: number;
        bias?: number;
        cGroup?: UnparsedCollisionFlags;
        cMask?: UnparsedCollisionFlags;
        color?: UnparsedColor;
        curve?: number;
        curveF?: number;
        v0?: number;
        v1?: number;
        vis?: boolean;
    }
    Index

    Properties

    bCoef?: number

    The new bouncing coefficient of the segment.

    bias?: number

    The new bias of the segment.

    The new collision group of the segment.

    The new collision mask of the segment.

    The new color of the segment.

    curve?: number

    The new curve of the segment. (unit: degrees)

    curveF?: number

    The new curve of the segment. (unit: radians) While modifying this, the engine does not update some values. Only use this if you know what you are doing.

    v0?: number

    The new first vertex index of the segment.

    v1?: number

    The new second vertex index of the segment.

    vis?: boolean

    The new visibility of the segment.