Privacy
An open-source, flexible 3D physical simulation framework
mars::interfaces::draw_item Struct Reference

draw_item is a struct that is used to draw elements directly to the gui More...

#include <draw_structs.h>

Public Attributes

unsigned long id
 
DrawType type
 
mars::interfaces::sReal width
 
mars::interfaces::sReal height
 
mars::utils::Vector offset
 
mars::utils::Vector start
 
mars::utils::Vector end
 
mars::utils::Vector pos
 
mars::utils::Vector axis
 
mars::utils::Color myColor
 
mars::utils::Color borderColor
 
mars::interfaces::sReal point_size
 
std::string label
 
int draw_state
 
std::string texture
 
std::vector< float > vertices
 
int t_width
 
int t_height
 
void * t_data
 
int align_to_view
 
int get_light
 
int resolution
 

Detailed Description

draw_item is a struct that is used to draw elements directly to the gui

Definition at line 79 of file draw_structs.h.

Member Data Documentation

◆ align_to_view

int mars::interfaces::draw_item::align_to_view

Definition at line 100 of file draw_structs.h.

◆ axis

mars::utils::Vector mars::interfaces::draw_item::axis

Definition at line 88 of file draw_structs.h.

◆ borderColor

mars::utils::Color mars::interfaces::draw_item::borderColor

Definition at line 90 of file draw_structs.h.

◆ draw_state

int mars::interfaces::draw_item::draw_state

Definition at line 95 of file draw_structs.h.

◆ end

mars::utils::Vector mars::interfaces::draw_item::end

Definition at line 86 of file draw_structs.h.

◆ get_light

int mars::interfaces::draw_item::get_light

Definition at line 101 of file draw_structs.h.

◆ height

mars::interfaces::sReal mars::interfaces::draw_item::height

Definition at line 83 of file draw_structs.h.

◆ id

unsigned long mars::interfaces::draw_item::id

Definition at line 80 of file draw_structs.h.

◆ label

std::string mars::interfaces::draw_item::label

Definition at line 94 of file draw_structs.h.

◆ myColor

mars::utils::Color mars::interfaces::draw_item::myColor

Definition at line 89 of file draw_structs.h.

◆ offset

mars::utils::Vector mars::interfaces::draw_item::offset

Definition at line 84 of file draw_structs.h.

◆ point_size

mars::interfaces::sReal mars::interfaces::draw_item::point_size

Definition at line 91 of file draw_structs.h.

◆ pos

mars::utils::Vector mars::interfaces::draw_item::pos

Definition at line 87 of file draw_structs.h.

◆ resolution

int mars::interfaces::draw_item::resolution

Definition at line 102 of file draw_structs.h.

◆ start

mars::utils::Vector mars::interfaces::draw_item::start

Definition at line 85 of file draw_structs.h.

◆ t_data

void* mars::interfaces::draw_item::t_data

Definition at line 99 of file draw_structs.h.

◆ t_height

int mars::interfaces::draw_item::t_height

Definition at line 98 of file draw_structs.h.

◆ t_width

int mars::interfaces::draw_item::t_width

Definition at line 98 of file draw_structs.h.

◆ texture

std::string mars::interfaces::draw_item::texture

Definition at line 96 of file draw_structs.h.

◆ type

DrawType mars::interfaces::draw_item::type

Definition at line 81 of file draw_structs.h.

◆ vertices

std::vector<float> mars::interfaces::draw_item::vertices

Definition at line 97 of file draw_structs.h.

◆ width

mars::interfaces::sReal mars::interfaces::draw_item::width

Definition at line 82 of file draw_structs.h.


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