public final class AmbientLight extends Light
AmbientLight light = new AmbientLight( 0xff0000 );
getScene().add( light );
Modifier and Type | Class and Description |
---|---|
static class |
AmbientLight.UniformAmbient |
Light.UniformLight
Object3D.ObjectHandler, Object3D.Traverse
__webglActive, __webglInit, _modelViewMatrix, _normalMatrix, DefaultUp
Constructor and Description |
---|
AmbientLight(int hex) |
Modifier and Type | Method and Description |
---|---|
AmbientLight |
clone()
Creates a new clone of this object and all descendants.
|
void |
setupRendererLights(RendererLights zlights,
boolean isGammaInput) |
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 AmbientLight clone()
Object3D
public void setupRendererLights(RendererLights zlights, boolean isGammaInput)
setupRendererLights
in class Light