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

#include <CameraImporter.hpp>

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

Public Member Functions

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

Static Public Member Functions

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

◆ ~CameraImporter()

virtual castor3d::CameraImporter::~CameraImporter ( )
virtualdefault

◆ CameraImporter()

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

Constructor.

Parameters
[in]engineThe engine.

Member Function Documentation

◆ import() [1/2]

static C3D_API bool castor3d::CameraImporter::import ( Camera & camera,
castor::Path const & pathFile,
Parameters const & parameters )
static

Camera import function.

Parameters
[out]cameraReceives 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::CameraImporter::import ( Camera & camera,
ImporterFile * file,
Parameters const & parameters )

Camera import Function.

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

◆ m_parameters

Parameters castor3d::CameraImporter::m_parameters
protected

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