mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 20:11:50 +00:00
add 'angle_spread' property
This commit is contained in:
parent
90b1f63406
commit
c6de7f62fe
5 changed files with 28 additions and 4 deletions
|
|
@ -27,6 +27,8 @@ struct Particle {
|
|||
float lifetime;
|
||||
/// @brief UV region
|
||||
UVRegion region;
|
||||
/// @brief Current rotation angle
|
||||
float angle;
|
||||
};
|
||||
|
||||
class Texture;
|
||||
|
|
@ -39,7 +41,7 @@ class Emitter {
|
|||
EmitterOrigin origin;
|
||||
/// @brief Particle prototype
|
||||
Particle prototype;
|
||||
/// @brief Particle
|
||||
/// @brief Particle texture
|
||||
const Texture* texture;
|
||||
/// @brief Number of particles should be spawned before emitter deactivation.
|
||||
/// -1 is infinite.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue