SpotLight

Inherited: BaseLight

Description

To determine the emitter position and emit direction SpotLight uses Transform component of the own Actor.

Public Methods

float

attenuationDistance () const

float

outerAngle () const

void

setAttenuationDistance (float distance)

void

setOuterAngle (float angle)

Static Methods

None

Methods Description

float SpotLight::attenuationDistance () const

Returns the attenuation distance of the light cone.

See also setAttenuationDistance().


float SpotLight::outerAngle () const

Returns the angle of the light cone in degrees.

See also setOuterAngle().


void SpotLight::setAttenuationDistance (float distance)

Changes the attenuation distance of the light cone.

See also attenuationDistance().


void SpotLight::setOuterAngle (float angle)

Changes the angle of the light cone in degrees.

See also outerAngle().