Object3D constructor

Object3D({
  1. Vector3? position,
  2. Vector3? scale,
  3. Quaternion? rotation,
})

Object3Ds are the basic building blocks for a 3D FlameGame.

It is an object that is positioned in 3D space and can be bind to be rendered by a GraphicsDevice.

However, it has no visual representation of its own (except in debug mode). It is common, therefore, to derive from this class and implement a specific rendering logic.

See the MeshComponent for an Object3D that has a visual representation using a Mesh.

Implementation

Object3D({
  super.position,
  super.scale,
  super.rotation,
});