NoJobEngine 2.0.7
Loading...
Searching...
No Matches
NoJob::ParticleSystemComponent Struct Reference

#include <Components.h>

Public Attributes

bool Playing = true
bool Loop = true
float Duration = 5.0f
float StartLifetime = 2.0f
float LifetimeRandom = 0.0f
float StartSpeed = 2.0f
float SpeedRandom = 0.0f
float StartSize = 0.2f
float SizeRandom = 0.0f
glm::vec4 StartColor { 1.0f, 0.65f, 0.15f, 1.0f }
glm::vec4 EndColor { 1.0f, 0.15f, 0.02f, 0.0f }
float EndSizeMultiplier = 0.25f
float EmissionRate = 20.0f
std::uint32_t MaxParticles = 500
glm::vec3 Direction { 0.0f, 1.0f, 0.0f }
glm::vec3 Gravity { 0.0f, -1.0f, 0.0f }
ParticleShape Shape = ParticleShape::Point
float ShapeRadius = 0.5f
float ConeAngle = 25.0f
ParticleBlendMode BlendMode = ParticleBlendMode::Alpha
std::string TexturePath

Detailed Description

Definition at line 166 of file Components.h.

Member Data Documentation

◆ BlendMode

ParticleBlendMode NoJob::ParticleSystemComponent::BlendMode = ParticleBlendMode::Alpha

◆ ConeAngle

float NoJob::ParticleSystemComponent::ConeAngle = 25.0f

◆ Direction

glm::vec3 NoJob::ParticleSystemComponent::Direction { 0.0f, 1.0f, 0.0f }

◆ Duration

float NoJob::ParticleSystemComponent::Duration = 5.0f

◆ EmissionRate

float NoJob::ParticleSystemComponent::EmissionRate = 20.0f

◆ EndColor

glm::vec4 NoJob::ParticleSystemComponent::EndColor { 1.0f, 0.15f, 0.02f, 0.0f }

◆ EndSizeMultiplier

float NoJob::ParticleSystemComponent::EndSizeMultiplier = 0.25f

◆ Gravity

glm::vec3 NoJob::ParticleSystemComponent::Gravity { 0.0f, -1.0f, 0.0f }

◆ LifetimeRandom

float NoJob::ParticleSystemComponent::LifetimeRandom = 0.0f

◆ Loop

bool NoJob::ParticleSystemComponent::Loop = true

◆ MaxParticles

std::uint32_t NoJob::ParticleSystemComponent::MaxParticles = 500

◆ Playing

bool NoJob::ParticleSystemComponent::Playing = true

◆ Shape

ParticleShape NoJob::ParticleSystemComponent::Shape = ParticleShape::Point

◆ ShapeRadius

float NoJob::ParticleSystemComponent::ShapeRadius = 0.5f

◆ SizeRandom

float NoJob::ParticleSystemComponent::SizeRandom = 0.0f

◆ SpeedRandom

float NoJob::ParticleSystemComponent::SpeedRandom = 0.0f

◆ StartColor

glm::vec4 NoJob::ParticleSystemComponent::StartColor { 1.0f, 0.65f, 0.15f, 1.0f }

◆ StartLifetime

float NoJob::ParticleSystemComponent::StartLifetime = 2.0f

◆ StartSize

float NoJob::ParticleSystemComponent::StartSize = 0.2f

◆ StartSpeed

float NoJob::ParticleSystemComponent::StartSpeed = 2.0f

◆ TexturePath

std::string NoJob::ParticleSystemComponent::TexturePath

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