VISU - PHP Game Framework

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

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

        
On this page

Search results