Class DirectionalLight


  • public class DirectionalLight
    extends AmbientLight
    Represents a directional light in the scene
    Author:
    Darius Dinger
    • Constructor Detail

      • DirectionalLight

        public DirectionalLight()
    • Method Detail

      • getDirection

        public javax.vecmath.Vector3f getDirection()
        Getting the direction, the light is shining to as vector (x, y, z).
        f.e. (0, 1, 0) is pointing upwards.
        Returns:
        Direction of the light