Class DirectionalLight

  • All Implemented Interfaces:
    be.yildizgames.common.gameobject.Deletable, be.yildizgames.common.util.Registerable

    public abstract class DirectionalLight
    extends Light
    A direction light is like a cylinder of light, it has a position and a direction.
    Author:
    Grégory Van den Borre
    • Constructor Detail

      • DirectionalLight

        protected DirectionalLight​(String name,
                                   be.yildizgames.common.geometry.Point3D direction)
        Full constructor.
        Parameters:
        name - Light name, must be unique.
        direction - Light direction.
    • Method Detail

      • getDirection

        public final be.yildizgames.common.geometry.Point3D getDirection()