![]() |
Pioneer
|
#include <ModelViewer.h>


Public Types | |
| enum class | CameraPreset : uint8_t { Front , Back , Left , Right , Top , Bottom } |
Public Member Functions | |
| ModelViewer (ModelViewerApp *app, LuaManager *l) | |
| void | SetModel (const std::string &modelName) |
| bool | SetRandomColor () |
| void | ResetCamera () |
| void | ChangeCameraPreset (CameraPreset preset) |
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 | SetupAxes () |
| 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) |
|
strong |
| ModelViewer::ModelViewer | ( | ModelViewerApp * | app, |
| LuaManager * | l | ||
| ) |
| void ModelViewer::ChangeCameraPreset | ( | CameraPreset | preset | ) |
|
overrideprotectedvirtual |
Reimplemented from Application::Lifecycle.
|
protected |

| void ModelViewer::ResetCamera | ( | ) |
| void ModelViewer::SetModel | ( | const std::string & | modelName | ) |

| bool ModelViewer::SetRandomColor | ( | ) |

|
protected |

|
overrideprotectedvirtual |
Reimplemented from Application::Lifecycle.
|
overrideprotectedvirtual |