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

Public Member Functions

void init () override
 
void update (float deltaTime) override
 
glm::vec3 getSlotPosition () const
 
void draw (size_t v_index, PlaneColorRenderer &batch, TazGraphEngine::Window &window)
 
std::string GetComponentName () override
 
void showGUI (std::vector< BaseComponent * > otherComponents={}) override
 
void showGUI (std::vector< BaseComponent * > otherComponents, std::vector< Entity * > otherEntities) override
 
void init () override
 
void update (float deltaTime) override
 
glm::vec3 getSlotPosition () const
 
void draw (size_t v_index, PlaneColorRenderer &batch, TazGraphEngine::Window &window)
 
std::string GetComponentName () override
 
void showGUI (std::vector< BaseComponent * > otherComponents={}) override
 
void showGUI (std::vector< BaseComponent * > otherComponents, std::vector< Entity * > otherEntities) override
 
- Public Member Functions inherited from BaseComponent
virtual void draw (size_t e_index, PlaneModelRenderer &batch, TazGraphEngine::Window &window)
 
virtual void draw (size_t e_index, LineRenderer &batch, TazGraphEngine::Window &window)
 
virtual void draw (size_t e_index, LightRenderer &batch, TazGraphEngine::Window &window)
 

Public Attributes

int index = -1
 
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 PortSlotComponent::draw ( size_t  v_index,
PlaneColorRenderer batch,
TazGraphEngine::Window window 
)
inlinevirtual

Reimplemented from BaseComponent.

◆ draw() [2/2]

void PortSlotComponent::draw ( size_t  v_index,
PlaneColorRenderer batch,
TazGraphEngine::Window window 
)
inlinevirtual

Reimplemented from BaseComponent.

◆ GetComponentName() [1/2]

std::string PortSlotComponent::GetComponentName ( )
inlineoverridevirtual

Reimplemented from BaseComponent.

◆ GetComponentName() [2/2]

std::string PortSlotComponent::GetComponentName ( )
inlineoverridevirtual

Reimplemented from BaseComponent.

◆ init() [1/2]

void PortSlotComponent::init ( )
inlineoverridevirtual

Reimplemented from BaseComponent.

◆ init() [2/2]

void PortSlotComponent::init ( )
inlineoverridevirtual

Reimplemented from BaseComponent.

◆ showGUI() [1/4]

void PortSlotComponent::showGUI ( std::vector< BaseComponent * >  otherComponents,
std::vector< Entity * >  otherEntities 
)
inlineoverridevirtual

Reimplemented from BaseComponent.

◆ showGUI() [2/4]

void PortSlotComponent::showGUI ( std::vector< BaseComponent * >  otherComponents,
std::vector< Entity * >  otherEntities 
)
inlineoverridevirtual

Reimplemented from BaseComponent.

◆ showGUI() [3/4]

void PortSlotComponent::showGUI ( std::vector< BaseComponent * >  otherComponents = {})
inlineoverridevirtual

Reimplemented from BaseComponent.

◆ showGUI() [4/4]

void PortSlotComponent::showGUI ( std::vector< BaseComponent * >  otherComponents = {})
inlineoverridevirtual

Reimplemented from BaseComponent.

◆ update() [1/2]

void PortSlotComponent::update ( float  deltaTime)
inlineoverridevirtual

Reimplemented from BaseComponent.

◆ update() [2/2]

void PortSlotComponent::update ( float  deltaTime)
inlineoverridevirtual

Reimplemented from BaseComponent.


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