Object3D
Since version 4.0.0
Base class for 3D objects
class Object3D
Properties
Local matrix of the object
Position of the object
Rotation quaternion
A scale vector of the object
Methods
Update local matrix of the object.
Constructor
Create new instance.
new Object3D(): Object3D
Properties
matrix
>=4.0.0
matrixmat4
Local matrix of the object
position
>=4.0.0
positionvec3
Position of the object
rotation
>=4.0.0
rotationquat
Rotation quaternion
scale
>=4.0.0
scalevec3
A scale vector of the object
Methods
updateMatrix
>=4.0.0
updateMatrixvoid
updateMatrix(): void
Update local matrix of the object.