| java.lang.Object | |
| ↳ | casmi.graphics.object.Light |
Light object class. Wrapper of JOGL light
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Creates Light object.
| |||||||||||
Creates Light object using lightMode.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Returns the parameter of the ambient light.
| |||||||||||
Returns the spot light's angle.
| |||||||||||
Returns the diffuse color of Light.
| |||||||||||
Returns the x-direction of Light
| |||||||||||
Returns the x-direction of Light
| |||||||||||
Returns the z-direction of Light
| |||||||||||
Returns the emissive color of Light.
| |||||||||||
Returns the index of Light.
| |||||||||||
Returns the LightMode
| |||||||||||
Returns the shininess of Light.
| |||||||||||
Returns the specular color of Light.
| |||||||||||
Sets the parameter of the ambient light.
| |||||||||||
Sets the spot light's angle.
| |||||||||||
Sets the color of Light.
| |||||||||||
Sets the color of Light.
| |||||||||||
Sets the diffuse color of Light.
| |||||||||||
Sets the direction of Light.
| |||||||||||
Sets the x-direction of Light
| |||||||||||
Sets the x-direction of Light
| |||||||||||
Sets the z-direction of Light
| |||||||||||
Sets the emissive color of Light.
| |||||||||||
Sets the index of Light.
| |||||||||||
Sets the LightMode
| |||||||||||
Sets the position of the Element in 3D.
| |||||||||||
Sets the position of the Element in 2D.
| |||||||||||
Sets the shininess of Light.
| |||||||||||
Sets the specular color of Light.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Creates Light object.
Creates Light object using lightMode.
| lightMode | The lightMode of this light. |
|---|
Returns the parameter of the ambient light.
Returns the spot light's angle.
Returns the diffuse color of Light.
Returns the x-direction of Light
Returns the x-direction of Light
Returns the z-direction of Light
Returns the emissive color of Light.
Returns the index of Light.
Returns the shininess of Light.
Returns the specular color of Light.
Sets the parameter of the ambient light.
| ambient | The parameter of the ambient light. |
|---|
Sets the spot light's angle.
| angle | The angle of the spot light. |
|---|
Sets the color of Light.
| colorSet | The ColorSet of Light. |
|---|
Sets the diffuse color of Light.
| diffuse | The diffuse color of Light. |
|---|
Sets the direction of Light.
| x | The x-direction of Light. |
|---|---|
| y | The y-direction of Light. |
| z | The z-direction of Light. |
Sets the x-direction of Light
| directionX | The x-direction of Light. |
|---|
Sets the x-direction of Light
| directionY | The y-direction of Light. |
|---|
Sets the z-direction of Light
| directionZ | The z-direction of Light. |
|---|
Sets the emissive color of Light.
| emissive | The emissive color of Light. |
|---|
Sets the index of Light.
| index | The index of Light. |
|---|
Sets the position of the Element in 3D.
| x | x-coordinate |
|---|---|
| y | y-coordinate |
| z | z-coordinate |
Sets the position of the Element in 2D.
| v | the vertex of the position of the Element |
|---|
Sets the shininess of Light.
| shininess | The shininess of Light. |
|---|
Sets the specular color of Light.
| specular | The specular color of Light. |
|---|