TazGraph Project v0.1.0
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
ColliderComponent Class Reference
Inheritance diagram for ColliderComponent:
Inheritance graph
[legend]
Collaboration diagram for ColliderComponent:
Collaboration graph
[legend]

Public Member Functions

 ColliderComponent (Manager *manager, glm::vec3 boxCollider_size)
 
void init () override
 
void update (float deltaTime) override
 
void collisionPhysics ()
 
void draw (size_t e_index, PlaneModelRenderer &batch, TazGraphEngine::Window &window) override
 
std::string GetComponentName () override
 
void addCollisionGroup (Group g)
 
void removeCollisionGroup (Group g)
 
 ColliderComponent (Manager *manager, glm::vec3 boxCollider_size)
 
void init () override
 
void update (float deltaTime) override
 
void collisionPhysics ()
 
void draw (size_t e_index, PlaneModelRenderer &batch, TazGraphEngine::Window &window) override
 
std::string GetComponentName () override
 
void addCollisionGroup (Group g)
 
void removeCollisionGroup (Group g)
 
- Public Member Functions inherited from BaseComponent
virtual void draw (size_t e_index, LineRenderer &batch, TazGraphEngine::Window &window)
 
virtual void draw (size_t e_index, PlaneColorRenderer &batch, TazGraphEngine::Window &window)
 
virtual void draw (size_t e_index, LightRenderer &batch, TazGraphEngine::Window &window)
 
virtual void showGUI (std::vector< BaseComponent * > otherComponents={})
 
virtual void showGUI (std::vector< BaseComponent * > otherComponents, std::vector< Entity * > otherEntities)
 

Public Attributes

glm::vec3 box_collider = glm::vec3(0.0f)
 
TransformComponenttransform = nullptr
 
- Public Attributes inherited from Component
Entityentity = nullptr
 
- Public Attributes inherited from BaseComponent
bool modifyPosition = false
 
ComponentID id = 0u
 

Member Function Documentation

◆ draw() [1/2]

void ColliderComponent::draw ( size_t  e_index,
PlaneModelRenderer batch,
TazGraphEngine::Window window 
)
inlineoverridevirtual

Reimplemented from BaseComponent.

◆ draw() [2/2]

void ColliderComponent::draw ( size_t  e_index,
PlaneModelRenderer batch,
TazGraphEngine::Window window 
)
inlineoverridevirtual

Reimplemented from BaseComponent.

◆ GetComponentName() [1/2]

std::string ColliderComponent::GetComponentName ( )
inlineoverridevirtual

Reimplemented from BaseComponent.

◆ GetComponentName() [2/2]

std::string ColliderComponent::GetComponentName ( )
inlineoverridevirtual

Reimplemented from BaseComponent.

◆ init() [1/2]

void ColliderComponent::init ( )
inlineoverridevirtual

Reimplemented from BaseComponent.

◆ init() [2/2]

void ColliderComponent::init ( )
inlineoverridevirtual

Reimplemented from BaseComponent.

◆ update() [1/2]

void ColliderComponent::update ( float  deltaTime)
inlineoverridevirtual

Reimplemented from BaseComponent.

◆ update() [2/2]

void ColliderComponent::update ( float  deltaTime)
inlineoverridevirtual

Reimplemented from BaseComponent.


The documentation for this class was generated from the following files: