Class dnx.ice.DirectionalLight
All Packages Class Hierarchy This Package Previous Next Index
Class dnx.ice.DirectionalLight
java.lang.Object
|
+----dnx.ice.Light
|
+----dnx.ice.DirectionalLight
- public class DirectionalLight
- extends Light
Directional light source.
-
DirectionalLight()
- Create a directional light with white specular and diffuse components,
no ambient component, and which points in the negative Z direction.
-
DirectionalLight(float, float, float)
- Create a light with default colors which poins in the direction from the
origin to the point (x, y, z).
-
DirectionalLight(Vector3)
- Create a light with default colors which points in a specified
direction.
-
getDirection(Vector3)
-
-
setDirection(float, float, float)
- Change the direction of the light source to point in the direction from
the origin to point (x, y, z).
-
setDirection(Vector3)
- Change the direction of the light source to point in the direction from
the origin to point (x, y, z).
DirectionalLight
public DirectionalLight()
- Create a directional light with white specular and diffuse components,
no ambient component, and which points in the negative Z direction.
DirectionalLight
public DirectionalLight(float x,
float y,
float z)
- Create a light with default colors which poins in the direction from the
origin to the point (x, y, z).
DirectionalLight
public DirectionalLight(Vector3 direction)
- Create a light with default colors which points in a specified
direction.
setDirection
public void setDirection(float x,
float y,
float z)
- Change the direction of the light source to point in the direction from
the origin to point (x, y, z).
setDirection
public void setDirection(Vector3 direction)
- Change the direction of the light source to point in the direction from
the origin to point (x, y, z).
getDirection
public void getDirection(Vector3 v)
All Packages Class Hierarchy This Package Previous Next Index