Castor3D 0.16.0
Multiplatform 3D engine
Public Member Functions | List of all members
castor3d::SceneImporter Class Reference

#include <SceneImporter.hpp>

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

Public Member Functions

C3D_API SceneImporter (Engine &engine)
 Constructor.
 
C3D_API bool import (Scene &scene, ImporterFile *file, Parameters const &parameters, castor::Map< PassComponentTextureFlag, TextureConfiguration > const &textureRemaps)
 Scene import Function.
 
C3D_API bool import (Scene &scene, castor::Path const &pathFile, Parameters const &parameters, castor::Map< PassComponentTextureFlag, TextureConfiguration > const &textureRemaps, ProgressBar *progress=nullptr)
 Scene import Function.
 
C3D_API bool importAnimations (Scene &scene, ImporterFile *file, Parameters const &parameters)
 Scene animations import Function.
 
C3D_API bool importAnimations (Scene &scene, castor::Path const &pathFile, Parameters const &parameters, ProgressBar *progress=nullptr)
 Scene animations import Function.
 
- Public Member Functions inherited from castor::OwnedBy< Engine >
Engine * getOwner () const
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ SceneImporter()

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

Constructor.

Parameters
[in]engineThe engine.

Member Function Documentation

◆ import() [1/2]

C3D_API bool castor3d::SceneImporter::import ( Scene & scene,
castor::Path const & pathFile,
Parameters const & parameters,
castor::Map< PassComponentTextureFlag, TextureConfiguration > const & textureRemaps,
ProgressBar * progress = nullptr )

Scene import Function.

Parameters
[out]sceneReceives the imported data.
[in]pathFileThe location of the file to import.
[in]parametersImport configuration parameters.
[in]textureRemapsThe imported textures remapping parameters.
[in,out]progressOptional progress bar.
Returns
false if any problem occured.

◆ import() [2/2]

C3D_API bool castor3d::SceneImporter::import ( Scene & scene,
ImporterFile * file,
Parameters const & parameters,
castor::Map< PassComponentTextureFlag, TextureConfiguration > const & textureRemaps )

Scene import Function.

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

◆ importAnimations() [1/2]

C3D_API bool castor3d::SceneImporter::importAnimations ( Scene & scene,
castor::Path const & pathFile,
Parameters const & parameters,
ProgressBar * progress = nullptr )

Scene animations import Function.

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

◆ importAnimations() [2/2]

C3D_API bool castor3d::SceneImporter::importAnimations ( Scene & scene,
ImporterFile * file,
Parameters const & parameters )

Scene animations import Function.

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

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