Skip to content

Basic GameObjects

Cube

Represents a normal cube

new Cube(position?: Vec3DTuple, size?: Vec3DTuple, rotation?: Vec3DTuple)

Pyramid

Represents a pyramid

new Pyramid(position?: Vec3DTuple, size?: Vec3DTuple, rotation?: Vec3DTuple)

Sphere

Represents a sphere

new Sphere(position?: Vec3DTuple, size?: Vec3DTuple, rotation?: Vec3DTuple)