Diagnostic view for static terrain collisions and script event-boxes.
More...
#include <GUI_CollisionsDebug.h>
Diagnostic view for static terrain collisions and script event-boxes.
Definition at line 38 of file GUI_CollisionsDebug.h.
◆ AddCollisionBoxDebugMesh()
void CollisionsDebug::AddCollisionBoxDebugMesh |
( |
collision_box_t const & |
coll_box | ) |
|
◆ AddCollisionMeshDebugMesh()
void CollisionsDebug::AddCollisionMeshDebugMesh |
( |
collision_mesh_t const & |
coll_mesh | ) |
|
◆ CleanUp()
void CollisionsDebug::CleanUp |
( |
| ) |
|
◆ ClearCollisionCellVisuals()
void CollisionsDebug::ClearCollisionCellVisuals |
( |
| ) |
|
◆ ClearCollisionMeshVisuals()
void CollisionsDebug::ClearCollisionMeshVisuals |
( |
| ) |
|
◆ ClearEventBoxVisuals()
void CollisionsDebug::ClearEventBoxVisuals |
( |
| ) |
|
◆ Draw()
void CollisionsDebug::Draw |
( |
| ) |
|
◆ DrawCollisionBoxDebugText()
void CollisionsDebug::DrawCollisionBoxDebugText |
( |
collision_box_t const & |
coll_box | ) |
|
◆ DrawCollisionMeshDebugText()
void CollisionsDebug::DrawCollisionMeshDebugText |
( |
collision_mesh_t const & |
coll_mesh | ) |
|
◆ DrawLabelAtWorldPos()
void CollisionsDebug::DrawLabelAtWorldPos |
( |
std::string const & |
caption, |
|
|
Ogre::Vector3 const & |
world_pos, |
|
|
ImVec4 const & |
text_color |
|
) |
| |
|
private |
◆ GenerateCellDebugMaterials()
void CollisionsDebug::GenerateCellDebugMaterials |
( |
| ) |
|
|
private |
◆ GetCollBoxWorldPos()
Ogre::Vector3 CollisionsDebug::GetCollBoxWorldPos |
( |
collision_box_t const & |
coll_box | ) |
|
◆ IsHovered()
bool RoR::GUI::CollisionsDebug::IsHovered |
( |
| ) |
const |
|
inline |
◆ IsVisible()
bool RoR::GUI::CollisionsDebug::IsVisible |
( |
| ) |
const |
|
inline |
◆ SetDrawCollisionCells()
void CollisionsDebug::SetDrawCollisionCells |
( |
bool |
val | ) |
|
◆ SetDrawCollisionMeshes()
void CollisionsDebug::SetDrawCollisionMeshes |
( |
bool |
val | ) |
|
◆ SetDrawEventBoxes()
void CollisionsDebug::SetDrawEventBoxes |
( |
bool |
val | ) |
|
◆ SetVisible()
void CollisionsDebug::SetVisible |
( |
bool |
v | ) |
|
◆ COLOR_COLLMESH
const ImVec4 RoR::GUI::CollisionsDebug::COLOR_COLLMESH = ImVec4(209/255.f, 109/255.f, 44/255.f, 1.f) |
◆ COLOR_EVENTBOX
const ImVec4 RoR::GUI::CollisionsDebug::COLOR_EVENTBOX = ImVec4(181/255.f, 51/255.f, 64/255.f, 1.f) |
◆ DEFAULT_DRAWDIST
const float RoR::GUI::CollisionsDebug::DEFAULT_DRAWDIST = 200.f |
◆ m_cell_generator_distance_limit
int RoR::GUI::CollisionsDebug::m_cell_generator_distance_limit = 50 |
|
private |
◆ m_collision_box_draw_distance
float RoR::GUI::CollisionsDebug::m_collision_box_draw_distance = DEFAULT_DRAWDIST |
|
private |
◆ m_collision_boxes
std::vector<Ogre::SceneNode*> RoR::GUI::CollisionsDebug::m_collision_boxes |
|
private |
◆ m_collision_cell_draw_distance
float RoR::GUI::CollisionsDebug::m_collision_cell_draw_distance = DEFAULT_DRAWDIST |
|
private |
◆ m_collision_cells
std::vector<Ogre::SceneNode*> RoR::GUI::CollisionsDebug::m_collision_cells |
|
private |
◆ m_collision_grid_root
Ogre::SceneNode* RoR::GUI::CollisionsDebug::m_collision_grid_root = nullptr |
|
private |
◆ m_collision_mesh_draw_distance
float RoR::GUI::CollisionsDebug::m_collision_mesh_draw_distance = DEFAULT_DRAWDIST |
|
private |
◆ m_collision_meshes
std::vector<Ogre::SceneNode*> RoR::GUI::CollisionsDebug::m_collision_meshes |
|
private |
◆ m_draw_collision_boxes
bool RoR::GUI::CollisionsDebug::m_draw_collision_boxes = false |
|
private |
◆ m_draw_collision_cells
bool RoR::GUI::CollisionsDebug::m_draw_collision_cells = false |
|
private |
◆ m_draw_collision_meshes
bool RoR::GUI::CollisionsDebug::m_draw_collision_meshes = false |
|
private |
◆ m_draw_labels
bool RoR::GUI::CollisionsDebug::m_draw_labels = true |
|
private |
◆ m_is_hovered
bool RoR::GUI::CollisionsDebug::m_is_hovered = false |
|
private |
◆ m_is_visible
bool RoR::GUI::CollisionsDebug::m_is_visible = false |
|
private |
◆ m_labels_draw_sources
bool RoR::GUI::CollisionsDebug::m_labels_draw_sources = true |
|
private |
◆ m_labels_draw_types
bool RoR::GUI::CollisionsDebug::m_labels_draw_types = true |
|
private |
◆ WIDTH_DRAWDIST
const float RoR::GUI::CollisionsDebug::WIDTH_DRAWDIST = 75.f |
The documentation for this class was generated from the following files: