DirectLightΒΆ

Inherited: BaseLight

DescriptionΒΆ

To determine the emit direction DirectLight uses Transform component of the own Actor.

Public MethodsΒΆ

Camera *

camera () const

void

setCamera (Camera * camera)

Static MethodsΒΆ

None

Methods DescriptionΒΆ

Camera * DirectLight::camera () const

Sets a camera associated with current light source. This camera will be used to calculate light location because this type light of source is always following the viewer.

See also setCamera().


void DirectLight::setCamera (Camera * camera)

Sets a camera associated with current light source.

See also camera().