Pioneer
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Protected Member Functions | List of all members
Editor::ModelViewer Class Reference

#include <ModelViewer.h>

Inheritance diagram for Editor::ModelViewer:
Inheritance graph
[legend]
Collaboration diagram for Editor::ModelViewer:
Collaboration graph
[legend]

Public Types

enum class  CameraPreset : uint8_t {
  Front , Back , Left , Right ,
  Top , Bottom
}
 

Public Member Functions

 ModelViewer (EditorApp *app, LuaManager *l)
 
 ~ModelViewer ()
 
void SetModel (const std::string &modelName)
 
- Public Member Functions inherited from Application::Lifecycle
 Lifecycle ()
 
 Lifecycle (bool profilerAccumulate)
 
virtual ~Lifecycle ()
 
void RequestEndLifecycle ()
 
- Public Member Functions inherited from RefCounted
 RefCounted ()
 
virtual ~RefCounted ()
 
void IncRefCount () const
 
void DecRefCount () const
 
int GetRefCount () const
 
- Public Member Functions inherited from LuaWrappable
virtual ~LuaWrappable ()
 

Protected Member Functions

void Start () override
 
void Update (float deltaTime) override
 
void End () override
 
void HandleInput ()
 
- Protected Member Functions inherited from Application::Lifecycle
virtual void Start ()
 
virtual void Update (float deltaTime)=0
 
virtual void End ()
 
void SetNextLifecycle (RefCountedPtr< Lifecycle > l)
 
bool GetProfilerAccumulate () const
 
void SetProfilerAccumulate (bool enable)
 

Member Enumeration Documentation

◆ CameraPreset

enum class Editor::ModelViewer::CameraPreset : uint8_t
strong
Enumerator
Front 
Back 
Left 
Right 
Top 
Bottom 

Constructor & Destructor Documentation

◆ ModelViewer()

ModelViewer::ModelViewer ( EditorApp app,
LuaManager l 
)

◆ ~ModelViewer()

ModelViewer::~ModelViewer ( )

Member Function Documentation

◆ End()

void ModelViewer::End ( )
overrideprotectedvirtual

Reimplemented from Application::Lifecycle.

Here is the call graph for this function:

◆ HandleInput()

void ModelViewer::HandleInput ( )
protected
Here is the call graph for this function:

◆ SetModel()

void ModelViewer::SetModel ( const std::string &  modelName)
Here is the call graph for this function:

◆ Start()

void ModelViewer::Start ( )
overrideprotectedvirtual

Reimplemented from Application::Lifecycle.

Here is the call graph for this function:

◆ Update()

void ModelViewer::Update ( float  deltaTime)
overrideprotectedvirtual

Implements Application::Lifecycle.

Here is the call graph for this function:

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