Castor3D 0.16.0
Multiplatform 3D engine
|
#include <AnimationImporter.hpp>
Public Member Functions | |
virtual | ~AnimationImporter ()=default |
C3D_API | AnimationImporter (Engine &engine) |
Constructor. | |
C3D_API bool | import (SkeletonAnimation &animation, ImporterFile *file, Parameters const ¶meters) |
SkeletonAnimation import function. | |
C3D_API bool | import (MeshAnimation &animation, ImporterFile *file, Parameters const ¶meters) |
MeshAnimation import function. | |
C3D_API bool | import (SceneNodeAnimation &animation, ImporterFile *file, Parameters const ¶meters) |
SceneNodeAnimation import function. | |
C3D_API bool | import (SceneNodeAnimation &animation, castor::Path const &pathFile, Parameters const ¶meters) |
SceneNodeAnimation import function. | |
Public Member Functions inherited from castor::OwnedBy< Engine > | |
Engine * | getOwner () const |
Static Public Member Functions | |
static C3D_API bool | import (SkeletonAnimation &animation, castor::Path const &pathFile, Parameters const ¶meters) |
SkeletonAnimation import function. | |
static C3D_API bool | import (MeshAnimation &animation, castor::Path const &pathFile, Parameters const ¶meters) |
MeshAnimation import function. | |
Protected Member Functions | |
virtual C3D_API bool | doImportSkeleton (SkeletonAnimation &skeleton)=0 |
SkeletonAnimation import Function. | |
virtual C3D_API bool | doImportMesh (MeshAnimation &mesh)=0 |
MeshAnimation import function. | |
virtual C3D_API bool | doImportNode (SceneNodeAnimation &node)=0 |
SceneNodeAnimation import Function. | |
Protected Member Functions inherited from castor::OwnedBy< Engine > | |
OwnedBy (Engine &owner) | |
Constructor. | |
Protected Attributes | |
ImporterFile * | m_file {} |
Parameters | m_parameters |
|
virtualdefault |
Constructor.
[in] | engine | The engine. |
|
protectedpure virtual |
MeshAnimation import function.
[out] | mesh | Receives the imported data. |
false
if any problem occured. Implemented in castor3d::CmshAnimationImporter.
|
protectedpure virtual |
SceneNodeAnimation import Function.
[out] | node | Receives the imported data. |
false
if any problem occured. Implemented in castor3d::CmshAnimationImporter.
|
protectedpure virtual |
SkeletonAnimation import Function.
[out] | skeleton | Receives the imported data. |
false
if any problem occured. Implemented in castor3d::CmshAnimationImporter.
|
static |
MeshAnimation import function.
[out] | animation | 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::AnimationImporter::import | ( | MeshAnimation & | animation, |
ImporterFile * | file, | ||
Parameters const & | parameters ) |
MeshAnimation import function.
[out] | animation | Receives the imported data. |
[in] | file | The location of the file to import. |
[in] | parameters | Import configuration parameters. |
false
if any problem occured. C3D_API bool castor3d::AnimationImporter::import | ( | SceneNodeAnimation & | animation, |
castor::Path const & | pathFile, | ||
Parameters const & | parameters ) |
SceneNodeAnimation import function.
[out] | animation | 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::AnimationImporter::import | ( | SceneNodeAnimation & | animation, |
ImporterFile * | file, | ||
Parameters const & | parameters ) |
SceneNodeAnimation import function.
[out] | animation | Receives the imported data. |
[in] | file | The location of the file to import. |
[in] | parameters | Import configuration parameters. |
false
if any problem occured.
|
static |
SkeletonAnimation import function.
[out] | animation | 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::AnimationImporter::import | ( | SkeletonAnimation & | animation, |
ImporterFile * | file, | ||
Parameters const & | parameters ) |
SkeletonAnimation import function.
[out] | animation | 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 |
Import configuration parameters.