mooball
    Preparing search index...

    Class Joint

    A class that defines a joint.

    Index

    Constructors

    Properties

    color: number

    The color of this Joint. Range: -1 <= color < 16777216.

    • This value can be converted into a rgba string via API's Utils.numberToColor function.
    • The special value -1 means transparent color.
    d0: number

    Index of the first Disc of this Joint.

    d1: number

    Index of the second Disc of this Joint.

    maxLength: number

    The maximum length of this Joint.

    minLength: number

    The minimum length of this Joint.

    strength: number

    The strength of this Joint. (Infinity means rigid.)

    textureId: number

    The texture id of this Joint. -1 = empty.