PointLight

Inherited: BaseLight

Description

To determine the emiter position PointLight uses Transform component of the own Actor.

Public Methods

float

attenuationRadius () const

void

setAttenuationRadius (float radius)

void

setSourceLength (float length)

void

setSourceRadius (float radius)

float

sourceLength () const

float

sourceRadius () const

Static Methods

None

Methods Description

float PointLight::attenuationRadius () const

Returns the attenuation radius of the light.

See also setAttenuationRadius().


void PointLight::setAttenuationRadius (float radius)

Changes the attenuation radius of the light.

See also attenuationRadius().


void PointLight::setSourceLength (float length)

Changes the source length of the light.

See also sourceLength().


void PointLight::setSourceRadius (float radius)

Changes the source radius of the light.

See also sourceRadius().


float PointLight::sourceLength () const

Returns the source length of the light.

See also setSourceLength().


float PointLight::sourceRadius () const

Returns the source radius of the light.

See also setSourceRadius().