AreaLight

Inherited: BaseLight

Description

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

Public Methods

float

radius () const

void

setRadius (float radius)

void

setSourceHeight (float height)

void

setSourceWidth (float width)

float

sourceHeight () const

float

sourceWidth () const

Static Methods

None

Methods Description

float AreaLight::radius () const

Returns the attenuation radius of the light.

See also setRadius().


void AreaLight::setRadius (float radius)

Changes the attenuation radius of the light.

See also *radius*().


void AreaLight::setSourceHeight (float height)

Changes the source height of the light.

See also sourceHeight().


void AreaLight::setSourceWidth (float width)

Changes the source width of the light.

See also sourceWidth().


float AreaLight::sourceHeight () const

Returns the source height of the light.

See also setSourceHeight().


float AreaLight::sourceWidth () const

Returns the source width of the light.

See also setSourceWidth().