Click or drag to resize
ParticleType Structure
All the basic properties of a particle type the particle system may emit.

Namespace:  GeonBit.ECS.Components.Particles
Assembly:  GeonBit (in GeonBit.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public struct ParticleType

The ParticleType type exposes the following members.

Constructors
  NameDescription
Public methodParticleType
Create the particle type.
Top
Properties
  NameDescription
Public propertyFrequency
How often to spawn particles (value range should be 0f - 1f). In every spawn event if the Frequency >= Random(0f, 1f), new particles will emit.
Public propertyFrequencyChange
How much to change frequency over time. For example, if value is -0.5, will decrease Frequency by 0.5f over the span time of 1 second.
Public propertyMaxParticlesPerSpawn
Max particles amount to create every spawn.
Public propertyMinParticlesPerSpawn
Min particles amount to create every spawn.
Public propertyParticlePrototype
The particle GameObject (we emit clone of these objects).
Top
Methods
  NameDescription
Public methodClone
Clone particle type.
Public methodEquals
Indicates whether this instance and a specified object are equal.
(Inherited from ValueType.)
Public methodGetFrequency
Get frequency with FrequencyChange applied.
Public methodGetHashCode
Returns the hash code for this instance.
(Inherited from ValueType.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns the fully qualified type name of this instance.
(Inherited from ValueType.)
Top
See Also