Castor3D 0.16.0
Multiplatform 3D engine
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
castor3d::LightImporter Class Referenceabstract

#include <LightImporter.hpp>

Inheritance diagram for castor3d::LightImporter:
Inheritance graph
[legend]
Collaboration diagram for castor3d::LightImporter:
Collaboration graph
[legend]

Public Member Functions

virtual ~LightImporter ()=default
 
C3D_API LightImporter (Engine &engine)
 Constructor.
 
C3D_API bool import (Light &light, ImporterFile *file, Parameters const &parameters)
 Light import function.
 
- Public Member Functions inherited from castor::OwnedBy< Engine >
Engine * getOwner () const
 

Static Public Member Functions

static C3D_API bool import (Light &light, castor::Path const &pathFile, Parameters const &parameters)
 Light import Function.
 

Protected Attributes

ImporterFilem_file {}
 
Parameters m_parameters
 

Additional Inherited Members

- Protected Member Functions inherited from castor::OwnedBy< Engine >
 OwnedBy (Engine &owner)
 Constructor.
 

Constructor & Destructor Documentation

◆ ~LightImporter()

virtual castor3d::LightImporter::~LightImporter ( )
virtualdefault

◆ LightImporter()

C3D_API castor3d::LightImporter::LightImporter ( Engine & engine)
explicit

Constructor.

Parameters
[in]engineThe engine.

Member Function Documentation

◆ import() [1/2]

static C3D_API bool castor3d::LightImporter::import ( Light & light,
castor::Path const & pathFile,
Parameters const & parameters )
static

Light import Function.

Parameters
[out]lightReceives the imported data.
[in]pathFileThe location of the file to import.
[in]parametersImport configuration parameters.
Returns
false if any problem occured.

◆ import() [2/2]

C3D_API bool castor3d::LightImporter::import ( Light & light,
ImporterFile * file,
Parameters const & parameters )

Light import function.

Parameters
[out]lightReceives the imported data.
[in]fileThe location of the file to import.
[in]parametersImport configuration parameters.
Returns
false if any problem occured.

Member Data Documentation

◆ m_file

ImporterFile* castor3d::LightImporter::m_file {}
protected

◆ m_parameters

Parameters castor3d::LightImporter::m_parameters
protected

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