|
| UIVec3 & | GetPos () |
| |
| UIVec3 & | GetRot () |
| |
| UIVec3 & | GetDir () |
| |
| UIVec3 & | GetUp () |
| |
| UIVec3 & | GetTarget () |
| |
| UIVec3 & | GetPivot () |
| |
| UIColor & | GetBGColor () |
| |
| UIFloat & | GetOrthSize () |
| |
| UIFloat & | GetFarClip () |
| |
| UIFloat & | GetNearClip () |
| |
| UIFloat & | GetFOV () |
| |
| UIBool & | IsPerspective () |
| |
| UIBool & | IsRotatingAroundPivot () |
| |
| void | SetPos (const glm::vec3 &pos) |
| |
| void | SetOrthSize (float size) |
| |
| void | SetFarClip (float farClip) |
| |
| void | SetNearClip (float nearClip) |
| |
| void | SetFOV (float fov) |
| |
| void | SetPivotRotationMode (bool isPivotRotation) |
| |
| void | SetPivot (const glm::vec3 &pivot) |
| |
| void | SetPerspective (bool isPerspective) |
| |
| const glm::mat4 & | GetView () |
| |
| const glm::mat4 & | GetRotationMatrix () |
| |
| const glm::mat4 & | GetProjection (float aspect) |
| |
| void | LookAt (const glm::vec3 &targetPos) |
| |
| void | Translate (const glm::vec3 &delta) |
| |
| void | Rotate (const glm::vec3 &delta) |
| |
| void | TriggerRecalcView () |
| |
| void | TriggerRecalcProjection () |
| |
| void | TriggerRecalcRotation () |
| |
| | Camera (ActionStack *actionStack, const std::string &name="", const std::string &scope="", float fov=45.0f, float nearClip=0.1f, float farClip=100.0f, const glm::vec3 &pos=glm::vec3(5, 5, 5), const glm::vec3 &dir=glm::vec3(-5, -5, -5), const glm::vec3 &up=glm::vec3(0.0f, 1.0f, 0.0f), const glm::vec3 &color=glm::vec3(0.3f, 0.4f, 0.4f), float orthSize=10.0f, bool isPerspective=true) |
| | Constructs a camera from the given parameters.
|
| |
| | Camera (ActionStack *actionStack, Config *config) |
| | Constructs a camera from the given config.
|
| |
| virtual SelectableType | GetSelectableType () |
| | Returns the type of the selectable.
|
| |
| | ISelectable (SelectableType type=SelectableType::NONE) |
| | Sets the type of the selectable.
|
| |
| virtual void | Rename (const std::string &newName, bool includeScope=true) |
| | Renames the object, setting the scope to be the scoped part of the name.
|
| |
| virtual void | SetName (const std::string &name) |
| | Sets the name of the object. Note: Does not set the scope variable. If renaming based on raw input, use Rename() instead to set the scope.
|
| |
| virtual void | SetScope (const std::string &scope) |
| | Sets the scope of the object.
|
| |
| std::string | GetUnscopedName () |
| | Returns the unscoped name of the object.
|
| |
| std::string | GetScope () |
| | Returns the scope of the object.
|
| |
| std::string | GetScopedName () |
| | Returns the scoped name of the object.
|
| |
| void | InitName (const std::string &name, const std::string &scope="") |
| | Initializes the nameable object with the given name and scope.
|
| |
| | INameable () |
| | Creates a default nameable object without name or scope.
|
| |