Show various visual debugging information about the node.  
 More...
#include <OxygenEngine/scene/component/node/debug.h>
 | 
|   | Debug (oe::scene::Node &node) | 
|   | 
| virtual void  | onUpdate (const std::chrono::nanoseconds delta, const int8_t flags=0) override | 
|   | 
|   | NodeComponent (Node &entity) | 
|   | Constructor.  
  | 
|   | 
| 
Node &  | getNode () const noexcept | 
|   | Get node bound to this component. 
  | 
|   | 
| 
Manager &  | getSceneManager () const noexcept | 
|   | Get scene manager of the node bound to this component. 
  | 
|   | 
| 
const std::string &  | getName () const | 
|   | 
 | 
| 
  | EntityComponent (Node &entity) | 
|   | 
| 
Node &  | _entity | 
|   | 
Show various visual debugging information about the node. 
- Note
 - You might prefer using oe::component::scene::Debug instead, which is more complete (show hierarchy though a GUI) 
 
 
◆ Debug()
Constructor
- Parameters
 - 
  
    | node | Node bound to this component  | 
  
   
 
 
◆ onUpdate()
  
  
      
        
          | virtual void oe::component::node::Debug::onUpdate  | 
          ( | 
          const std::chrono::nanoseconds  | 
          delta,  | 
         
        
           | 
           | 
          const int8_t  | 
          flags = 0  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
overridevirtual   | 
  
 
 
◆ bbox_color
      
        
          | glm::vec3 oe::component::node::Debug::bbox_color | 
        
      
 
Node's bounding box color 
 
 
◆ match_flags
      
        
          | int8_t oe::component::node::Debug::match_flags = 0 | 
        
      
 
Do not run update unless flags is same as this value 
 
 
◆ show_bbox
      
        
          | bool oe::component::node::Debug::show_bbox = true | 
        
      
 
Show the node's bounding box 
 
 
◆ show_transform
      
        
          | bool oe::component::node::Debug::show_transform = true | 
        
      
 
Show the node's transform as axis 
 
 
◆ transform_line_length
      
        
          | float oe::component::node::Debug::transform_line_length = 0.1f | 
        
      
 
 
The documentation for this class was generated from the following file:
- OxygenEngine/scene/component/node/debug.h