DirectionalLightComponent
in package
Table of Contents
Properties
- $color : Vec3
- The color of the light
- $direction : Vec3
- The direction the light is pointing at
- $intensity : float
- The intensity of the light
Methods
- __construct() : mixed
- Constructor
Properties
$color
The color of the light
public
Vec3
$color
$direction
The direction the light is pointing at
public
Vec3
$direction
$intensity
The intensity of the light
public
float
$intensity
Methods
__construct()
Constructor
public
__construct([Vec3|null $direction = null ][, Vec3|null $color = null ][, float $intensity = 1.0 ]) : mixed
Parameters
- $direction : Vec3|null = null
- $color : Vec3|null = null
- $intensity : float = 1.0