Class PointLight

  • Direct Known Subclasses:
    SpotLight

    public class PointLight
    extends AmbientLight
    Represent a point light in the scene with specific range
    Author:
    Darius Dinger
    • Constructor Detail

      • PointLight

        public PointLight()
    • Method Detail

      • getAttenuation

        public javax.vecmath.Vector2f getAttenuation()
        Returns:
        Lights current attenuation (x = linear drop, y = squared drop)
      • getPosition

        public javax.vecmath.Vector3f getPosition()
        Returns:
        Lights position in the 3d world