![]() |
Castor3D 0.17.0
Multiplatform 3D engine
|
#include <LightImporter.hpp>
Public Member Functions | |
virtual | ~LightImporter ()=default |
C3D_API | LightImporter (Engine &engine, castor::String const &prefix) |
Constructor. | |
C3D_API LightUPtr | importData (castor::String const &name, LightCreateInfo const &createInfo, ImporterFile *file, Parameters const ¶meters) |
Light import function. | |
C3D_API bool | importData (Light &light, ImporterFile *file, Parameters const ¶meters) |
Light import function. | |
castor::StringView | getPrefix () const noexcept |
![]() | |
Engine * | getOwner () const noexcept |
void | setOwner (Engine &owner) noexcept |
Static Public Member Functions | |
static C3D_API bool | importData (Light &light, castor::Path const &pathFile, Parameters const ¶meters) |
Light import Function. | |
Protected Attributes | |
castor::String | m_prefix |
ImporterFile * | m_file {} |
Parameters | m_parameters |
Additional Inherited Members | |
![]() | |
OwnedBy (Engine &owner) noexcept | |
Constructor. | |
|
virtualdefault |
|
explicit |
Constructor.
[in] | engine | The engine. |
[in] | prefix | The prefix used for logging. |
|
inlinenoexcept |
References m_prefix.
C3D_API LightUPtr castor3d::LightImporter::importData | ( | castor::String const & | name, |
LightCreateInfo const & | createInfo, | ||
ImporterFile * | file, | ||
Parameters const & | parameters ) |
Light import function.
[in] | name | The light name. |
[in] | createInfo | The light creation informations. |
[in] | file | The location of the file to import. |
[in] | parameters | Import configuration parameters. |
false
if any problem occured.
|
static |
Light import Function.
[out] | light | Receives the imported data. |
[in] | pathFile | The location of the file to import. |
[in] | parameters | Import configuration parameters. |
false
if any problem occured. C3D_API bool castor3d::LightImporter::importData | ( | Light & | light, |
ImporterFile * | file, | ||
Parameters const & | parameters ) |
Light import function.
[out] | light | Receives the imported data. |
[in] | file | The location of the file to import. |
[in] | parameters | Import configuration parameters. |
false
if any problem occured.
|
protected |
|
protected |
|
protected |
Referenced by getPrefix().