Class: Object3D

AL3D.Object3D

(abstract) new Object3D(x, y, z)

Class that represents an Object in 3D world that can adds to Scene.
Parameters:
Name Type Description
x number The x coordenate in the 3D world.
y number The y coordenate in the 3D world.
z number The z coordenate in the 3D world.
Author:
  • Ángel Luis Perales Gómez.
Source:

Members

orientation

Set the Object3D orientation.
Source:

orientation

Return the Object3D orientation.
Source:

position

Return the Object3D position.
Source:

position

Set the Object3D position.
Source:

rotation

Set the Object3D rotation.
Source:

rotation

Return the Object3D rotation.
Source:

Methods

prepareToRender()

Prepare Object3D to render. This method update the position, orientation and scale
Source: