# CSLInfiniteLight Class Reference

Describes an infinite light. More...

`#include <InfiniteLight.h>`

Inheritance diagram for CSLInfiniteLight:

List of all members.

## Public Member Functions
| CSLInfiniteLight (CSLScene *in_pScene, CSLModel *in_pModel, CdotXSITemplate *in_pTemplate)
virtual | ~CSLInfiniteLight ()
virtual SI_Error | Synchronize ()
virtual ETemplateType | Type ()

## Detailed Description

Describes an infinite light.

## Constructor & Destructor Documentation

CSLInfiniteLight | ( | CSLScene * | in_pScene,
|  | CSLModel * | in_pModel,
|  | CdotXSITemplate * | in_pTemplate |
| ) |  |  |

Constructor

Parameters:

  | in_pScene | scene to add this infinite light to
  | in_pModel | model to add this light to
  | in_pTemplate | IO layer template to connect to

Returns:
  an instance of CSLInfiniteLight

virtual ~CSLInfiniteLight | ( |  | ) | `[virtual]`

Destructor

## Member Function Documentation

virtual SI_Error Synchronize | ( |  | ) | `[virtual]`

Synchronizes this light instance with its IO layer representation

Returns:
  SI_Error

Return values:

  | SI_SUCCESS | this function always returns SI_SUCCESS

Reimplemented from CSLLight.

virtual ETemplateType Type | ( |  | ) | `[virtual]`

Get the template type

Returns:
  ETemplateType the template type of the spotlight

Implements CSLTemplate.

The documentation for this class was generated from the following file:

- InfiniteLight.h