Engine
Raylib based game framework
Loading...
Searching...
No Matches
Component::Particle Struct Reference

Individual particle state (position, velocity, colour, size, etc.). More...

#include <Components.hpp>

Public Attributes

Vec2< float > position
Vec2< float > velocity
float lifetime = 1
float age = 0
Color startColor = WHITE
Color endColor = {255, 255, 255, 0}
float startSize = 1
float endSize = 1
float rotation = 0
float angularVelocity = 0
Texture2D texture = {}
Rectangle texRect = {}

Detailed Description

Individual particle state (position, velocity, colour, size, etc.).


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