| Access | Constructor and Description |
|---|---|
| public | |
| public | PointLight(float
the x coordinate of the light position x, float the y coordinate of the light position y, float the z coordinate of the light position z, Color4f the color of the light color)Constructs a new |
| pack-priv | PointLight(Light.
the type of the light (either type,POINT or SPOT)the x coordinate of the light position x, float the y coordinate of the light position y, float the z coordinate of the light position z, Color4f the color of the light color)Package-private constructor. |
| Modifier and Type | Method and Description |
|---|---|
| public float[] | getNormalizedLightPosition()
Implements abstract com. Returns a float array containing the normalized |
| public float | Returns: the x coordinate of the light positionReturns the x coordinate of the light position. |
| public float | Returns: the y coordinate of the light positionReturns the y coordinate of the light position. |
| public float | Returns: the z coordinate of the light positionReturns the z coordinate of the light position. |
| public void | |
| public void | |
| public void |
| x | back to summary |
|---|---|
| private float x | |
| y | back to summary |
|---|---|
| private float y | |
| z | back to summary |
|---|---|
| private float z | |
| PointLight | back to summary |
|---|---|
| public PointLight() Constructs a new | |
| PointLight | back to summary |
|---|---|
| public PointLight(float x, float y, float z, Color4f color) Constructs a new
| |
| PointLight | back to summary |
|---|---|
| pack-priv PointLight(Light. Package-private constructor.
| |
| getNormalizedLightPosition | back to summary |
|---|---|
| public float[] getNormalizedLightPosition() Implements abstract com. Doc from com. Returns a float array containing the normalized
| |
| getX | back to summary |
|---|---|
| public float getX() Returns the x coordinate of the light position.
| |
| getY | back to summary |
|---|---|
| public float getY() Returns the y coordinate of the light position.
| |
| getZ | back to summary |
|---|---|
| public float getZ() Returns the z coordinate of the light position.
| |
| setX | back to summary |
|---|---|
| public void setX(float x) Sets the x coordinate of the light position.
Min: n/a
Max: n/a
Default: 0.0
Identity: n/a
| |
| setY | back to summary |
|---|---|
| public void setY(float y) Sets the y coordinate of the light position.
Min: n/a
Max: n/a
Default: 0.0
Identity: n/a
| |
| setZ | back to summary |
|---|---|
| public void setZ(float z) Sets the z coordinate of the light position.
Min: n/a
Max: n/a
Default: 0.0
Identity: n/a
| |