Gizmo Movement Command.
More...
#include <EditorCommands.hpp>
|
| | TransformCommand (vex::GameObject *obj, glm::vec3 oldP, glm::vec3 oldR, glm::vec3 oldS, glm::vec3 newP, glm::vec3 newR, glm::vec3 newS) |
| | Constructor, saves old and new state.
|
| void | Execute () override |
| | Does the transform changes.
|
| void | Undo () override |
| | Undoes the transfom changes.
|
Gizmo Movement Command.
Definition at line 28 of file EditorCommands.hpp.
◆ TransformCommand()
| vex::TransformCommand::TransformCommand |
( |
vex::GameObject * | obj, |
|
|
glm::vec3 | oldP, |
|
|
glm::vec3 | oldR, |
|
|
glm::vec3 | oldS, |
|
|
glm::vec3 | newP, |
|
|
glm::vec3 | newR, |
|
|
glm::vec3 | newS ) |
|
inline |
◆ Execute()
| void vex::TransformCommand::Execute |
( |
| ) |
|
|
inlineoverridevirtual |
◆ Undo()
| void vex::TransformCommand::Undo |
( |
| ) |
|
|
inlineoverridevirtual |
◆ m_newPos
| glm::vec3 vex::TransformCommand::m_newPos |
|
private |
◆ m_newRot
| glm::vec3 vex::TransformCommand::m_newRot |
|
private |
◆ m_newScale
| glm::vec3 vex::TransformCommand::m_newScale |
|
private |
◆ m_object
◆ m_oldPos
| glm::vec3 vex::TransformCommand::m_oldPos |
|
private |
◆ m_oldRot
| glm::vec3 vex::TransformCommand::m_oldRot |
|
private |
◆ m_oldScale
| glm::vec3 vex::TransformCommand::m_oldScale |
|
private |
◆ m_valid
| bool vex::TransformCommand::m_valid |
|
private |
The documentation for this class was generated from the following file: