class
#include <engine/gizmos/gizmos.hpp>
Gizmo Class that describes a type of gizmo.
Public functions
- void draw(GizmosRenderer& renderer, DrawPhase phase, const glm::mat<4, 4, float, glm::packed_highp>& mvp) pure virtual
- Draws the gizmo to screen.
- auto decreaseLifespan(float delta) -> bool
- Decreases the time the gizmo has left before it is destroyed.
Public variables
Protected variables
Function documentation
bool cubos:: engine:: Gizmos:: Gizmo:: decreaseLifespan(float delta)
Decreases the time the gizmo has left before it is destroyed.
Parameters | |
---|---|
delta | Seconds since the last frame. |