public final class Scene extends Object3D
Object3D
and Camera
.
Also you may want to add Lights and AbstractFog
to the Scene Object.Object3D.ObjectHandler, Object3D.Traverse
__webglActive, __webglInit, _modelViewMatrix, _normalMatrix, DefaultUp
Constructor and Description |
---|
Scene()
This default constructor will create new Scene instance.
|
Modifier and Type | Method and Description |
---|---|
Scene |
clone()
Creates a new clone of this object and all descendants.
|
Scene |
clone(Scene object) |
AbstractFog |
getFog()
Get fogAbstract associated with the Scene.
|
Material |
getOverrideMaterial() |
boolean |
isAutoUpdate() |
void |
setAutoUpdate(boolean isAutoUpdate) |
void |
setFog(AbstractFog fog)
Set the fogAbstract to the Scene.
|
void |
setOverrideMaterial(Material overrideMaterial) |
add, add, applyMatrix, clone, clone, getChildren, getChildrenByClass, getId, getMatrix, getMatrixWorld, getName, getObjectById, getObjectByName, getParent, getPosition, getQuaternion, getRenderDepth, getRotation, getScale, getUp, getWorldDirection, getWorldDirection, getWorldPosition, getWorldPosition, getWorldQuaternion, getWorldQuaternion, getWorldRotation, getWorldRotation, getWorldScale, getWorldScale, isCastShadow, isFrustumCulled, isMatrixAutoUpdate, isMatrixWorldNeedsUpdate, isReceiveShadow, isRotationAutoUpdate, isVisible, localToWorld, lookAt, remove, remove, rotateOnAxis, rotateX, rotateY, rotateZ, setCastShadow, setChildren, setFrustumCulled, setHandler, setMatrix, setMatrixAutoUpdate, setMatrixWorld, setMatrixWorldNeedsUpdate, setName, setParent, setPosition, setQuaternion, setReceiveShadow, setRenderDepth, setRotation, setRotationAutoUpdate, setRotationFromAxisAngle, setRotationFromEuler, setRotationFromMatrix, setRotationFromQuaternion, setScale, setUp, setVisible, toString, translateOnAxis, translateX, translateY, translateZ, traverse, traverseVisible, updateMatrix, updateMatrixWorld, worldToLocal
public AbstractFog getFog()
public void setFog(AbstractFog fog)
fogAbstract
- the FogAbstractpublic Material getOverrideMaterial()
public void setOverrideMaterial(Material overrideMaterial)
public boolean isAutoUpdate()
public void setAutoUpdate(boolean isAutoUpdate)
public Scene clone()
Object3D