public class AreaLight extends Light implements HasIntensity
Light.UniformLight
Object3D.ObjectHandler, Object3D.Traverse
Modifier and Type | Field and Description |
---|---|
double |
constantAttenuation |
double |
height |
double |
linearAttenuation |
Vector3 |
normal |
double |
quadraticAttenuation |
Vector3 |
right |
double |
width |
__webglActive, __webglInit, _modelViewMatrix, _normalMatrix, DefaultUp
Constructor and Description |
---|
AreaLight(int color) |
AreaLight(int color,
double intensity) |
Modifier and Type | Method and Description |
---|---|
double |
getIntensity()
Gets Light's intensity.
|
void |
setIntensity(double intensity)
Sets Light's intensity.
|
void |
setupRendererLights(RendererLights zlights,
boolean isGammaInput) |
add, add, applyMatrix, clone, 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 Vector3 normal
public Vector3 right
public double width
public double height
public double constantAttenuation
public double linearAttenuation
public double quadraticAttenuation
public AreaLight(int color)
public AreaLight(int color, double intensity)
public void setupRendererLights(RendererLights zlights, boolean isGammaInput)
setupRendererLights
in class Light
public double getIntensity()
getIntensity
in interface HasIntensity
public void setIntensity(double intensity)
setIntensity
in interface HasIntensity