Runtime state for one animated background star. More...
#include <examples/asteroids-net/asteroids3d_types.hpp>
Public Attributes | |
| glm::vec4 | base_color {1.0f} |
| Color before brightness modulation. | |
| float | brightness = 1.0f |
| Base brightness multiplier. | |
| glm::vec4 | color {1.0f} |
| Current rendered color. | |
| int | layer = 0 |
| Parallax layer index. | |
| glm::vec3 | position {0.0f} |
| World-space position. | |
| float | size = 1.0f |
| Rendered point size. | |
| float | twinkle_phase = 0.0f |
| Twinkle animation phase. | |
| float | twinkle_speed = 1.0f |
| Twinkle animation rate. | |
| glm::vec3 | velocity {0.0f} |
| World-space velocity. | |
Runtime state for one animated background star.
Definition at line 307 of file asteroids3d_types.hpp.
| glm::vec4 Star::base_color {1.0f} |
Color before brightness modulation.
Definition at line 310 of file asteroids3d_types.hpp.
| float Star::brightness = 1.0f |
Base brightness multiplier.
Definition at line 313 of file asteroids3d_types.hpp.
| glm::vec4 Star::color {1.0f} |
Current rendered color.
Definition at line 311 of file asteroids3d_types.hpp.
| int Star::layer = 0 |
Parallax layer index.
Definition at line 316 of file asteroids3d_types.hpp.
| glm::vec3 Star::position {0.0f} |
World-space position.
Definition at line 308 of file asteroids3d_types.hpp.
| float Star::size = 1.0f |
Rendered point size.
Definition at line 312 of file asteroids3d_types.hpp.
| float Star::twinkle_phase = 0.0f |
Twinkle animation phase.
Definition at line 314 of file asteroids3d_types.hpp.
| float Star::twinkle_speed = 1.0f |
Twinkle animation rate.
Definition at line 315 of file asteroids3d_types.hpp.
| glm::vec3 Star::velocity {0.0f} |
World-space velocity.
Definition at line 309 of file asteroids3d_types.hpp.