Global

Summary

Type Definitions

Detailed Description

Type Definitions

CameraMoveStyle

Camera movement style enum. One of MS_*.
Type:
  • number
Source:
See:

CharacterState

Constant value matching character state (flying, walking etc).
Type:
  • number
Source:

Date

The JavaScript Date object.
Type:
  • Object
Source:

Euler

Euler vector representing rotation (in radians).

Using euler angles is discouraged, use quaternions instead.

Type:
  • Float32Array
Source:

GenericCallback()

Generic callback function with no parameters.
Source:

Mat3

3x3 matrix. The elements of matrix are placed in typed array in column-major order. Can be created with module:mat3.create.
Type:
  • Float32Array
Source:

Mat4

4x4 matrix. The elements of matrix are placed in typed array in column-major order. Can be created with module:mat4.create.
Type:
  • Float32Array
Source:

Object3D

Object in 3D space. You should always use the engine's API in order to manipulate your 3D object. Never access it directly by it's properties.
Type:
  • Object
Source:

ParametricLine

Line set in parametric form
Type:
  • Float32Array(6)
Source:

Quat

Quaternion vector representing rotation. Quaternion is a four-dimensional vector which has the following format: [X, Y, Z, W]. Can be created with module:quat.create.
Type:
  • Float32Array
Source:

RGB

Typed three-dimensional vector representing color. Each component must be in range 0-1. Can be created with module:rgb.create.
Type:
  • Float32Array
Source:

RGBA

Typed four-dimensional vector representing color and alpha. Each component must be in range 0-1. Can be created with module:rgba.create.
Type:
  • Float32Array
Source:

Sensor

Sensor object.
Type:
  • Object
Source:
See:

TSR

TSR vector representing 3D object's transformations (Translation, Scale, Rotation). TSR is an eight-dimensional vector which has the following format: [X, Y, Z, SCALE, QUAT_X, QUAT_Y, QUAT_Z, QUAT_W]. Can be created with module:tsr.create.
Type:
  • Float32Array
Source:

Vec2

Typed two-dimensional vector.
Type:
  • Float32Array
Source:

Vec3

Typed three-dimensional vector. Can be created with module:vec3.create.
Type:
  • Float32Array
Source:

Vec4

Typed four-dimensional vector. Can be created with module:vec4.create.
Type:
  • Float32Array
Source: