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

Public Member Functions

void init () override
 
void update (float deltaTime) override
 
void draw (size_t v_index, PlaneColorRenderer &batch, TazGraphEngine::Window &window)
 
std::string GetComponentName () override
 
void init () override
 
void update (float deltaTime) override
 
void draw (size_t v_index, PlaneColorRenderer &batch, TazGraphEngine::Window &window)
 
std::string GetComponentName () 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)
 
virtual void showGUI (std::vector< BaseComponent * > otherComponents={})
 
virtual void showGUI (std::vector< BaseComponent * > otherComponents, std::vector< Entity * > otherEntities)
 

Public Attributes

TazColor color = { 255, 255, 255, 255 }
 
glm::vec2 uv1 = glm::vec2(0)
 
glm::vec2 uv2 = glm::vec2(0)
 
glm::vec2 uv3 = glm::vec2(0)
 
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 Triangle_w_Color::draw ( size_t  v_index,
PlaneColorRenderer batch,
TazGraphEngine::Window window 
)
inlinevirtual

Reimplemented from BaseComponent.

◆ draw() [2/2]

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

Reimplemented from BaseComponent.

◆ GetComponentName() [1/2]

std::string Triangle_w_Color::GetComponentName ( )
inlineoverridevirtual

Reimplemented from BaseComponent.

◆ GetComponentName() [2/2]

std::string Triangle_w_Color::GetComponentName ( )
inlineoverridevirtual

Reimplemented from BaseComponent.

◆ init() [1/2]

void Triangle_w_Color::init ( )
inlineoverridevirtual

Reimplemented from BaseComponent.

◆ init() [2/2]

void Triangle_w_Color::init ( )
inlineoverridevirtual

Reimplemented from BaseComponent.

◆ update() [1/2]

void Triangle_w_Color::update ( float  deltaTime)
inlineoverridevirtual

Reimplemented from BaseComponent.

◆ update() [2/2]

void Triangle_w_Color::update ( float  deltaTime)
inlineoverridevirtual

Reimplemented from BaseComponent.


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