HytaleJS

Math

Vectors, transforms, and shapes

3D Vectors

Vector3i

Integer 3D vector.

Prop

Type

Vector3f

Float 3D vector.

Prop

Type

Vector3d

Double 3D vector.

Prop

Type

2D Vectors

Vector2i

Integer 2D vector.

Prop

Type

Vector2f

Float 2D vector.

Prop

Type

Vector2d

Double 2D vector.

Prop

Type

Position

3D position in world space (double precision). Used in network packets for precise world coordinates.

Prop

Type

Direction

Rotation angles (yaw, pitch, roll) in degrees. Used in network packets for entity orientation.

Prop

Type

Transform

Position and rotation in 3D space.

Prop

Type

Shapes

Box

Axis-aligned bounding box.

Prop

Type

Cylinder

Cylindrical shape.

Prop

Type

Colors

Color

RGB color.

Prop

Type

ColorLight

RGBA color with alpha.

Prop

Type

On this page