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

Public Member Functions

void init () override
 
void update (float deltaTime) override
 
void draw (size_t v_index, LineRenderer &batch, TazGraphEngine::Window &window)
 
void drawWithPorts (size_t v_index, LineRenderer &batch, TazGraphEngine::Window &window)
 
void setSrcColor (Color clr)
 
void setDestColor (Color clr)
 
void SetFlashAnimation (int idX, int idY, size_t fr, float sp, const Animation::animType type, const std::vector< float > &flashTimes, Color flashC, int reps=0)
 
void setFlashFrame ()
 
std::string GetComponentName () override
 
void showGUI () 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, PlaneColorRenderer &batch, TazGraphEngine::Window &window)
 
virtual void draw (size_t e_index, LightRenderer &batch, TazGraphEngine::Window &window)
 

Public Attributes

std::string temp_lineParsed = ""
 
Color default_src_color = { 255, 255, 255, 255 }
 
Color src_color = { 255, 255, 255, 255 }
 
Color default_dest_color = { 255, 255, 255, 255 }
 
Color dest_color = { 255, 255, 255, 255 }
 
FlashAnimation flash_animation
 
- Public Attributes inherited from LinkComponent
LinkEntityentity = nullptr
 
- Public Attributes inherited from BaseComponent
ComponentID id = 0u
 

Member Function Documentation

◆ draw()

void Line_w_Color::draw ( size_t  v_index,
LineRenderer batch,
TazGraphEngine::Window window 
)
inlinevirtual

Reimplemented from BaseComponent.

◆ GetComponentName()

std::string Line_w_Color::GetComponentName ( )
inlineoverridevirtual

Reimplemented from BaseComponent.

◆ init()

void Line_w_Color::init ( )
inlineoverridevirtual

Reimplemented from BaseComponent.

◆ showGUI()

void Line_w_Color::showGUI ( )
inlineoverridevirtual

Reimplemented from BaseComponent.

◆ update()

void Line_w_Color::update ( float  deltaTime)
inlineoverridevirtual

Reimplemented from BaseComponent.


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