![]() |
BlankMat 0.1.0
Free open-source 3D texture creation application
|
UI window to select a camera and to display camera properties. More...
Public Member Functions | |
GUICameraViewer (State *state, Scene *scene, bool isEnabled) | |
![]() | |
void | Draw () override |
![]() | |
bool | IsEnabled () |
void | Enable () |
void | Disable () |
bool | ToggleEnabled () |
GUI | GetType () |
const std::string | GetName () |
void | SetName (const std::string &name) |
const glm::vec2 | GetPos () |
void | SetPos (const glm::vec2 &pos) |
Protected Member Functions | |
void | AddNewItem (const std::string &name) override |
IContainer< Camera > * | GetContainer () override |
void | DisplaySelectedItem () override |
void | SelectItem (Camera *selection) override |
![]() | |
virtual bool | ShouldDisplayItem (Camera *item) |
virtual bool | DisplayDeleteItem (const std::string &name, Camera *item) |
virtual bool | DisplayListItem (const std::string &name, Camera *item, Camera *&selection) |
void | ListContainer (IContainer< Camera > *container) |
Additional Inherited Members | |
![]() | |
State * | mState |
Scene * | mScene |
bool | mMustSelect |
std::string | mWindowName |
std::string | mItemName |
bool | mIsAddingItem |
std::string | mAddItemName |
![]() | |
GUI | mType = GUI::NONE |
std::string | mName = "" |
glm::vec2 | mScreenPos = glm::vec2(0, 0) |
bool | mIsEnabled = true |
UI window to select a camera and to display camera properties.
|
inlineoverrideprotectedvirtual |
Implements IGUIContainerWindow< Camera >.
|
inlineoverrideprotectedvirtual |
Implements IGUIContainerWindow< Camera >.
|
inlineoverrideprotectedvirtual |
Implements IGUIContainerWindow< Camera >.
|
inlineoverrideprotectedvirtual |
Implements IGUIContainerWindow< Camera >.