public abstract class ALight extends ATransformable3D
Modifier and Type | Field and Description |
---|---|
static int |
DIRECTIONAL_LIGHT |
static int |
POINT_LIGHT |
Constructor and Description |
---|
ALight(int lightType) |
Modifier and Type | Method and Description |
---|---|
float[] |
getColor() |
int |
getLightType() |
float[] |
getPositionArray() |
float |
getPower() |
void |
setColor(float r,
float g,
float b) |
void |
setColor(Number3D color) |
void |
setLightType(int lightType) |
void |
setPower(float power) |
boolean |
shouldUseObjectTransform() |
void |
shouldUseObjectTransform(boolean useObjectTransform) |
getOrientation, getPosition, getRotation, getRotX, getRotY, getRotZ, getScale, getScaleX, getScaleY, getScaleZ, getX, getY, getZ, rotateAround, rotateAround, setLookAt, setLookAt, setOrientation, setOrientation, setPosition, setPosition, setRotation, setRotation, setRotX, setRotY, setRotZ, setScale, setScale, setScale, setScaleX, setScaleY, setScaleZ, setX, setY, setZ
public static final int DIRECTIONAL_LIGHT
public static final int POINT_LIGHT
public void setColor(float r, float g, float b)
public void setColor(Number3D color)
public float[] getColor()
public void setPower(float power)
public float getPower()
public boolean shouldUseObjectTransform()
public void shouldUseObjectTransform(boolean useObjectTransform)
public int getLightType()
public void setLightType(int lightType)
public float[] getPositionArray()