|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.javagl.swogl.scene.Lights
public class Lights
Methods for creating Light
instances
Method Summary | |
---|---|
static Light |
createDirectionalLight(float dx,
float dy,
float dz)
Create a directional Light . |
static Light |
createPointLight(float x,
float y,
float z)
Create a a point Light . |
static Light |
createSpotLight(float x,
float y,
float z,
float dx,
float dy,
float dz,
float spotCutoff,
float spotExponent)
Create a spot Light . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Light createPointLight(float x, float y, float z)
Light
.
x
- The x coordinate of the positiony
- The y coordinate of the positionz
- The z coordinate of the position
Light
public static Light createDirectionalLight(float dx, float dy, float dz)
Light
.
dx
- The x coordinate of the directiondy
- The y coordinate of the directiondz
- The z coordinate of the direction
Light
public static Light createSpotLight(float x, float y, float z, float dx, float dy, float dz, float spotCutoff, float spotExponent)
Light
.
x
- The x coordinate of the positiony
- The y coordinate of the positionz
- The z coordinate of the positiondx
- The x coordinate of the directiondy
- The y coordinate of the directiondz
- The z coordinate of the directionspotCutoff
- The spot cutoff, in degreesspotExponent
- The spot exponent
Light
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |