.. _api_AreaLight: AreaLight ========= Inherited: None .. _api_AreaLight_description: Description ----------- To determine the emiter position AreaLight uses Transform component of the own Actor. .. _api_AreaLight_public: Public Methods -------------- +--------+-----------------------------------------------------------------------+ | float | :ref:`radius` () const | +--------+-----------------------------------------------------------------------+ | void | :ref:`setRadius` (float radius) | +--------+-----------------------------------------------------------------------+ | void | :ref:`setSourceHeight` (float height) | +--------+-----------------------------------------------------------------------+ | void | :ref:`setSourceWidth` (float width) | +--------+-----------------------------------------------------------------------+ | float | :ref:`sourceHeight` () const | +--------+-----------------------------------------------------------------------+ | float | :ref:`sourceWidth` () const | +--------+-----------------------------------------------------------------------+ .. _api_AreaLight_static: Static Methods -------------- None .. _api_AreaLight_methods: Methods Description ------------------- .. _api_AreaLight_radius: float **AreaLight::radius** () const Returns the attenuation radius of the light. **See also** setRadius(). ---- .. _api_AreaLight_setRadius: void **AreaLight::setRadius** (float *radius*) Changes the attenuation *radius* of the light. **See also** *radius*(). ---- .. _api_AreaLight_setSourceHeight: void **AreaLight::setSourceHeight** (float *height*) Changes the source *height* of the light. **See also** sourceHeight(). ---- .. _api_AreaLight_setSourceWidth: void **AreaLight::setSourceWidth** (float *width*) Changes the source *width* of the light. **See also** sourceWidth(). ---- .. _api_AreaLight_sourceHeight: float **AreaLight::sourceHeight** () const Returns the source height of the light. **See also** setSourceHeight(). ---- .. _api_AreaLight_sourceWidth: float **AreaLight::sourceWidth** () const Returns the source width of the light. **See also** setSourceWidth().