new ThreeJSObject(pos, size, mesh, z)threejs.js:132Create an engine object that drives a three.js mesh
ThreeJS Object - EngineObject that drives a three.js mesh
Extends EngineObject
new ThreeJSObject(pos, size, mesh, z)threejs.js:132Create an engine object that drives a three.js mesh
mesh : Objectthreejs.js:145The three.js object3d this object drives
z : numberthreejs.js:147Mesh height above the 2D plane
destroy(immediate)threejs.js:176Destroy this object and remove its mesh from the scene
immediate boolean optionalrender()threejs.js:172The mesh is this object's visual, the default 2D rendering is skipped
syncMesh()threejs.js:164Copy this object's transform to the mesh
updateTransforms(updateChildren)threejs.js:157Update the transform and sync the mesh to it, after the parent has placed a child, and while paused too
updateChildren boolean optional, default trueAlso update the children's transforms