public final class HemisphereLight extends Light implements HasIntensity
Modifier and Type | Class and Description |
---|---|
static class |
HemisphereLight.UniformHemisphere |
Light.UniformLight
Object3D.ObjectHandler, Object3D.Traverse
__webglActive, __webglInit, _modelViewMatrix, _normalMatrix, DefaultUp
Constructor and Description |
---|
HemisphereLight(int skyColorHex,
int groundColorHex) |
HemisphereLight(int skyColorHex,
int groundColorHex,
double intensity) |
Modifier and Type | Method and Description |
---|---|
HemisphereLight |
clone()
Creates a new clone of this object and all descendants.
|
Color |
getGroundColor() |
double |
getIntensity()
Gets Light's intensity.
|
void |
setGroundColor(Color groundColor) |
void |
setIntensity(double intensity)
Sets Light's intensity.
|
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 HemisphereLight(int skyColorHex, int groundColorHex)
public HemisphereLight(int skyColorHex, int groundColorHex, double intensity)
public Color getGroundColor()
public void setGroundColor(Color groundColor)
public double getIntensity()
HasIntensity
getIntensity
in interface HasIntensity
public void setIntensity(double intensity)
HasIntensity
setIntensity
in interface HasIntensity
public HemisphereLight clone()
Object3D
public void setupRendererLights(RendererLights zlights, boolean isGammaInput)
setupRendererLights
in class Light