#include <guiScene.h>
◆ GUIScene()
| GUIScene::GUIScene |
( |
gui::IGUIEnvironment * | env, |
|
|
scene::ISceneManager * | smgr, |
|
|
gui::IGUIElement * | parent, |
|
|
core::recti | rect, |
|
|
s32 | id = -1 ) |
◆ ~GUIScene()
◆ calcOptimalDistance()
| void GUIScene::calcOptimalDistance |
( |
| ) |
|
|
inlineprivate |
◆ cameraLoop()
| void GUIScene::cameraLoop |
( |
| ) |
|
|
private |
References correctBounds(), getCameraRotation(), m_cam, m_cam_distance, m_cam_pos, m_last_target_pos, m_target_pos, m_update_cam, setCameraRotation(), updateCameraPos(), and updateTargetPos().
Referenced by draw().
◆ correctBounds()
| bool GUIScene::correctBounds |
( |
v3f & | rot | ) |
|
|
private |
◆ draw()
References calcOptimalDistance(), cameraLoop(), porting::getDeltaMs(), porting::getTimeMs(), m_bgcolor, m_cam, m_custom_rot, m_driver, m_inf_rot, m_initial_rotation, m_last_time, m_mesh, m_smgr, m_target, rotateCamera(), and updateCamera().
◆ enableContinuousRotation()
| void GUIScene::enableContinuousRotation |
( |
bool | enable | ) |
|
|
inlinenoexcept |
◆ enableMouseControl()
| void GUIScene::enableMouseControl |
( |
bool | enable | ) |
|
|
inlinenoexcept |
◆ getCameraRotation()
| v3f GUIScene::getCameraRotation |
( |
| ) |
const |
|
inlineprivate |
◆ OnEvent()
| bool GUIScene::OnEvent |
( |
const SEvent & | event | ) |
|
|
virtual |
◆ rotateCamera()
| void GUIScene::rotateCamera |
( |
const v3f & | delta | ) |
|
|
inlineprivate |
◆ setAnimationSpeed()
| void GUIScene::setAnimationSpeed |
( |
f32 | speed | ) |
|
◆ setBackgroundColor()
| void GUIScene::setBackgroundColor |
( |
const video::SColor & | color | ) |
|
|
inlinenoexcept |
◆ setCameraRotation()
| void GUIScene::setCameraRotation |
( |
v3f | rot | ) |
|
|
private |
◆ setFrameLoop()
| void GUIScene::setFrameLoop |
( |
f32 | begin, |
|
|
f32 | end ) |
◆ setMesh()
| scene::AnimatedMeshSceneNode * GUIScene::setMesh |
( |
scene::IAnimatedMesh * | mesh = nullptr | ) |
|
◆ setRotation()
| void GUIScene::setRotation |
( |
v2f | rot | ) |
|
|
inlinenoexcept |
◆ setStyles()
◆ setTexture()
| void GUIScene::setTexture |
( |
u32 | idx, |
|
|
video::ITexture * | texture ) |
◆ updateCamera()
| void GUIScene::updateCamera |
( |
scene::ISceneNode * | target | ) |
|
|
private |
◆ updateCameraPos()
| void GUIScene::updateCameraPos |
( |
| ) |
|
|
inlineprivate |
◆ updateTargetPos()
| void GUIScene::updateTargetPos |
( |
| ) |
|
|
private |
◆ m_bgcolor
| video::SColor GUIScene::m_bgcolor |
|
private |
◆ m_cam
| scene::ICameraSceneNode* GUIScene::m_cam |
|
private |
◆ m_cam_distance
| f32 GUIScene::m_cam_distance = 50.f |
|
private |
◆ m_cam_pos
◆ m_curr_pos
◆ m_custom_rot
| v2f GUIScene::m_custom_rot |
|
private |
◆ m_driver
| video::IVideoDriver* GUIScene::m_driver |
|
private |
◆ m_inf_rot
| bool GUIScene::m_inf_rot = false |
|
private |
◆ m_initial_rotation
| bool GUIScene::m_initial_rotation = true |
|
private |
◆ m_last_pos
◆ m_last_target_pos
| v3f GUIScene::m_last_target_pos |
|
private |
◆ m_last_time
| u64 GUIScene::m_last_time = 0 |
|
private |
◆ m_mesh
| scene::AnimatedMeshSceneNode* GUIScene::m_mesh = nullptr |
|
private |
◆ m_mouse_ctrl
| bool GUIScene::m_mouse_ctrl = true |
|
private |
◆ m_smgr
| scene::ISceneManager* GUIScene::m_smgr |
|
private |
◆ m_target
| scene::ISceneNode* GUIScene::m_target = nullptr |
|
private |
◆ m_target_pos
| v3f GUIScene::m_target_pos |
|
private |
◆ m_update_cam
| bool GUIScene::m_update_cam = false |
|
private |
The documentation for this class was generated from the following files: