Class CollisionComponent¶
Defined in File collision_component.h
Inheritance Relationships¶
Base Type¶
public Component
(Class Component)
Derived Types¶
public RigidBodyComponent
(Class RigidBodyComponent)public TriggerComponent
(Class TriggerComponent)
Class Documentation¶
-
class
CollisionComponent
: public Component¶ Base class for collider components.
Subclassed by RigidBodyComponent, TriggerComponent
Public Functions
-
virtual
~CollisionComponent
()¶
-
void
onRemove
()¶ Perform operations prior to detachment from owning entity and destruction.
-
JSON::json
getJSON
() const¶ Get JSON representation of the component data needed to re-construct component from memory.
-
void
draw
()¶ Expose the component data with ImGui.
-
void
displayCollisionLayers
(unsigned int &collision)¶
-
virtual