Class DirectionalLight
- java.lang.Object
-
- be.yildizgames.common.util.BaseRegisterable
-
- be.yildizgames.module.graphic.light.Light
-
- be.yildizgames.module.graphic.light.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 Summary
Constructors Modifier Constructor Description protectedDirectionalLight(String name, be.yildizgames.common.geometry.Point3D direction)Full constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description be.yildizgames.common.geometry.Point3DgetDirection()-
Methods inherited from class be.yildizgames.module.graphic.light.Light
attachLensFlare, delete, deleteImpl, getLensFlareList, getPosition, move, setPosition, setPositionImpl
-
-
-
-
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.
-
-