Class DirectionalLight
Inherited Members
Syntax
public class DirectionalLight extends Light
Constructors
DirectionalLight(Vector3f color, float intensity)
Declaration
public DirectionalLight(Vector3f color, float intensity)
Parameters
Type | Name | Description |
---|---|---|
Vector3f | color | |
float | intensity |
Methods
getDirection()
Declaration
public Vector3f getDirection()
Returns
Type | Description |
---|---|
Vector3f |