Class Location

Hierarchy

Constructors

Properties

Methods

Constructors

  • Create a new location value.

    Parameters

    • x: number

      X coordinate.

    • y: number

      Y coordinate.

    • z: number

      Z coordinate.

    • pitch: number = 90

      Pitch, defaults to 0.

    • yaw: number = 0

      Yaw, defaults to 0.

    • Optional slot: number

    Returns Location

Properties

_componentName: string = "serializable"

The component's name

data: DataStorage<"loc", Iloc>
pitch: number = 90

Pitch, defaults to 0.

slot?: number

Specific slot number.

type: "loc"

Type of the value.

x: number

X coordinate.

y: number

Y coordinate.

yaw: number = 0

Yaw, defaults to 0.

z: number

Z coordinate.

Methods

Generated using TypeDoc