(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. |
Members
orientation
Set the Object3D orientation.
orientation
Return the Object3D orientation.
position
Return the Object3D position.
position
Set the Object3D position.
rotation
Set the Object3D rotation.
rotation
Return the Object3D rotation.
Methods
prepareToRender()
Prepare Object3D to render.
This method update the position, orientation and scale