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

#include <CmshImporter.hpp>

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

Public Member Functions

C3D_API CmshAnimationImporter (Engine &engine)
 Constructor.
 
- Public Member Functions inherited from castor3d::AnimationImporter
virtual ~AnimationImporter ()=default
 
C3D_API AnimationImporter (Engine &engine)
 Constructor.
 
C3D_API bool import (SkeletonAnimation &animation, ImporterFile *file, Parameters const &parameters)
 SkeletonAnimation import function.
 
C3D_API bool import (MeshAnimation &animation, ImporterFile *file, Parameters const &parameters)
 MeshAnimation import function.
 
C3D_API bool import (SceneNodeAnimation &animation, ImporterFile *file, Parameters const &parameters)
 SceneNodeAnimation import function.
 
C3D_API bool import (SceneNodeAnimation &animation, castor::Path const &pathFile, Parameters const &parameters)
 SceneNodeAnimation import function.
 
- Public Member Functions inherited from castor::OwnedBy< Engine >
Engine * getOwner () const
 

Static Public Member Functions

static AnimationImporterUPtr create (Engine &engine)
 Creator function.
 
- Static Public Member Functions inherited from castor3d::AnimationImporter
static C3D_API bool import (SkeletonAnimation &animation, castor::Path const &pathFile, Parameters const &parameters)
 SkeletonAnimation import function.
 
static C3D_API bool import (MeshAnimation &animation, castor::Path const &pathFile, Parameters const &parameters)
 MeshAnimation import function.
 

Static Public Attributes

static castor::String const MeshAnimType
 
static castor::String const SkeletonAnimType
 
static castor::String const NodeAnimType
 

Protected Member Functions

C3D_API bool doImportSkeleton (SkeletonAnimation &skeleton) override
 SkeletonAnimation import Function.
 
C3D_API bool doImportMesh (MeshAnimation &mesh) override
 MeshAnimation import function.
 
C3D_API bool doImportNode (SceneNodeAnimation &node) override
 SceneNodeAnimation import Function.
 
- Protected Member Functions inherited from castor::OwnedBy< Engine >
 OwnedBy (Engine &owner)
 Constructor.
 

Additional Inherited Members

- Protected Attributes inherited from castor3d::AnimationImporter
ImporterFilem_file {}
 
Parameters m_parameters
 

Constructor & Destructor Documentation

◆ CmshAnimationImporter()

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

Constructor.

Parameters
[in]engineThe core engine.

Member Function Documentation

◆ create()

static AnimationImporterUPtr castor3d::CmshAnimationImporter::create ( Engine & engine)
static

Creator function.

Parameters
[in]engineThe core engine.

◆ doImportMesh()

C3D_API bool castor3d::CmshAnimationImporter::doImportMesh ( MeshAnimation & mesh)
overrideprotectedvirtual

MeshAnimation import function.

Parameters
[out]meshReceives the imported data.
Returns
false if any problem occured.

Implements castor3d::AnimationImporter.

◆ doImportNode()

C3D_API bool castor3d::CmshAnimationImporter::doImportNode ( SceneNodeAnimation & node)
overrideprotectedvirtual

SceneNodeAnimation import Function.

Parameters
[out]nodeReceives the imported data.
Returns
false if any problem occured.

Implements castor3d::AnimationImporter.

◆ doImportSkeleton()

C3D_API bool castor3d::CmshAnimationImporter::doImportSkeleton ( SkeletonAnimation & skeleton)
overrideprotectedvirtual

SkeletonAnimation import Function.

Parameters
[out]skeletonReceives the imported data.
Returns
false if any problem occured.

Implements castor3d::AnimationImporter.

Member Data Documentation

◆ MeshAnimType

castor::String const castor3d::CmshAnimationImporter::MeshAnimType
static

◆ NodeAnimType

castor::String const castor3d::CmshAnimationImporter::NodeAnimType
static

◆ SkeletonAnimType

castor::String const castor3d::CmshAnimationImporter::SkeletonAnimType
static

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