Enumeration LoaderPoint

The pickup or drop point of a loader config.

This is a class that extends the Enum class.

Enumeration Members

BOTTOM: LoaderPoint
BOTTOM_LEFT: LoaderPoint
BOTTOM_RIGHT: LoaderPoint
TOP_LEFT: LoaderPoint
TOP_RIGHT: LoaderPoint

Constructors

  • Parameters

    • value: number

    Returns LoaderPoint

Properties

enumName: string

The name of the constant, i.e. the member name.

enumValue: number

The value of the constant.

Methods

  • Returns string

    "Enum.MEMBER"

  • Returns a constant with the specified name, or undefined if not found. (Case-sensitive)

    Shortcut to using getMap.

    Parameters

    • name: string

    Returns LoaderPoint

  • Returns a constant with the specified value, or undefined if not found.

    Shortcut to using getReverseMap and getMap.

    Parameters

    • value: number

    Returns LoaderPoint

  • Enum names to constant instances.

    Can be used to get the names and values of all constants in this enum.

    Returns Map<string, LoaderPoint>

  • Enum values to names.

    Returns Map<number, string>