#include <GizmoSystem.hpp>
◆ Mode
| Enumerator |
|---|
| TRANSLATION | |
| SCALE | |
◆ GizmoSystem()
| shkyera::GizmoSystem::GizmoSystem |
( |
std::shared_ptr< Registry > |
registry | ) |
|
◆ ~GizmoSystem()
| shkyera::GizmoSystem::~GizmoSystem |
( |
| ) |
|
◆ adjustGizmoTransform()
| void shkyera::GizmoSystem::adjustGizmoTransform |
( |
| ) |
|
|
private |
◆ getMouseIntersectionWithHandle()
| std::optional< glm::vec3 > shkyera::GizmoSystem::getMouseIntersectionWithHandle |
( |
| ) |
const |
|
private |
◆ getSelectedHandleDisplacement()
| glm::vec3 shkyera::GizmoSystem::getSelectedHandleDisplacement |
( |
| ) |
const |
|
private |
◆ handleInput()
| void shkyera::GizmoSystem::handleInput |
( |
| ) |
|
|
private |
◆ isHoverMoved()
| bool shkyera::GizmoSystem::isHoverMoved |
( |
std::optional< Entity > |
currentHover | ) |
const |
|
private |
◆ moveEntity()
| void shkyera::GizmoSystem::moveEntity |
( |
| ) |
|
|
private |
◆ scaleEntity()
| void shkyera::GizmoSystem::scaleEntity |
( |
| ) |
|
|
private |
◆ selectEntity()
| void shkyera::GizmoSystem::selectEntity |
( |
| ) |
|
|
private |
◆ styleOnHover()
| void shkyera::GizmoSystem::styleOnHover |
( |
| ) |
|
|
private |
◆ update()
| void shkyera::GizmoSystem::update |
( |
| ) |
|
◆ _controlledEntity
| std::optional<Entity> shkyera::GizmoSystem::_controlledEntity |
|
private |
◆ _hoveredHandle
| std::optional<Entity> shkyera::GizmoSystem::_hoveredHandle |
|
private |
◆ _mode
◆ _originalColor
| glm::vec3 shkyera::GizmoSystem::_originalColor |
|
private |
◆ _originalDisplacement
| glm::vec3 shkyera::GizmoSystem::_originalDisplacement |
|
private |
◆ _originalHandlePosition
| glm::vec3 shkyera::GizmoSystem::_originalHandlePosition |
|
private |
◆ _originalOrientation
| glm::vec3 shkyera::GizmoSystem::_originalOrientation |
|
private |
◆ _originalPlaneIntersection
| glm::vec3 shkyera::GizmoSystem::_originalPlaneIntersection |
|
private |
◆ _originalScale
| glm::vec3 shkyera::GizmoSystem::_originalScale |
|
private |
◆ _registry
| std::shared_ptr<Registry> shkyera::GizmoSystem::_registry |
|
private |
◆ _rotationGizmo
| Entity shkyera::GizmoSystem::_rotationGizmo |
|
private |
◆ _scaleGizmo
| Entity shkyera::GizmoSystem::_scaleGizmo |
|
private |
◆ _scaleGizmoLineX
| Entity shkyera::GizmoSystem::_scaleGizmoLineX |
|
private |
◆ _scaleGizmoLineY
| Entity shkyera::GizmoSystem::_scaleGizmoLineY |
|
private |
◆ _scaleGizmoLineZ
| Entity shkyera::GizmoSystem::_scaleGizmoLineZ |
|
private |
◆ _scaleUniformHandle
| Entity shkyera::GizmoSystem::_scaleUniformHandle |
|
private |
◆ _selectedHandle
| std::optional<Entity> shkyera::GizmoSystem::_selectedHandle |
|
private |
◆ _translationGizmo
| Entity shkyera::GizmoSystem::_translationGizmo |
|
private |
◆ Blue
| const auto shkyera::GizmoSystem::Blue = glm::vec3{0.1, 0.45, 0.95} |
|
inlinestaticprivate |
◆ GizmoHandleSize
◆ GizmoLineLength
◆ GizmoLineWidth
◆ GizmoScale
◆ Green
| const auto shkyera::GizmoSystem::Green = glm::vec3{0.1, 0.9, 0.3} |
|
inlinestaticprivate |
◆ Grey
| const auto shkyera::GizmoSystem::Grey = glm::vec3{0.8, 0.8, 0.8} |
|
inlinestaticprivate |
◆ Red
| const auto shkyera::GizmoSystem::Red = glm::vec3{0.9, 0.1, 0.1} |
|
inlinestaticprivate |
The documentation for this class was generated from the following files: