Antkeeper
0.0.1
|
Larval development parameters. More...
#include <larva-component.hpp>
Public Attributes | |
float | development_period {} |
Duration of the development period, in days. More... | |
float | development_phase {} |
Current development phase, on [0, 1] . More... | |
float | spinning_period {} |
Duration of the cocoon-spinning period, in days. More... | |
float | spinning_phase {} |
Current phase of the cocoon-spinning, on [0, 1] . More... | |
entity::id | cocoon_eid {entt::null} |
ID of the cocoon entity. More... | |
std::shared_ptr< render::matvar_float > | spinning_phase_matvar |
Material variable associated with the cocoon-spinning phase. More... | |
Larval development parameters.
Definition at line 29 of file larva-component.hpp.
entity::id larva_component::cocoon_eid {entt::null} |
ID of the cocoon entity.
Definition at line 44 of file larva-component.hpp.
float larva_component::development_period {} |
Duration of the development period, in days.
Definition at line 32 of file larva-component.hpp.
float larva_component::development_phase {} |
Current development phase, on [0, 1]
.
Definition at line 35 of file larva-component.hpp.
float larva_component::spinning_period {} |
Duration of the cocoon-spinning period, in days.
Definition at line 38 of file larva-component.hpp.
float larva_component::spinning_phase {} |
Current phase of the cocoon-spinning, on [0, 1]
.
Definition at line 41 of file larva-component.hpp.
std::shared_ptr<render::matvar_float> larva_component::spinning_phase_matvar |
Material variable associated with the cocoon-spinning phase.
Definition at line 47 of file larva-component.hpp.