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

#include <SceneNodeImporter.hpp>

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

Public Member Functions

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

Static Public Member Functions

static C3D_API bool import (SceneNode &node, castor::Path const &pathFile, Parameters const &parameters)
 SceneNode 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

◆ ~SceneNodeImporter()

virtual castor3d::SceneNodeImporter::~SceneNodeImporter ( )
virtualdefault

◆ SceneNodeImporter()

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

Constructor.

Parameters
[in]engineThe engine.

Member Function Documentation

◆ import() [1/2]

static C3D_API bool castor3d::SceneNodeImporter::import ( SceneNode & node,
castor::Path const & pathFile,
Parameters const & parameters )
static

SceneNode import function.

Parameters
[out]nodeReceives 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::SceneNodeImporter::import ( SceneNode & node,
ImporterFile * file,
Parameters const & parameters )

SceneNode import Function.

Parameters
[out]nodeReceives 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::SceneNodeImporter::m_file {}
protected

◆ m_parameters

Parameters castor3d::SceneNodeImporter::m_parameters
protected

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