A set of information about a particle system as a whole
More...
A set of information about a particle system as a whole
◆ Clone()
◆ FromContent()
static GpuParticlePreset OmegaEngine.Graphics.Renderables.GpuParticlePreset.FromContent |
( |
string |
id | ) |
|
|
inlinestatic |
Loads a preset from an XML file via the ContentManager.
- Parameters
-
id | The ID of the XML file to load |
- Returns
- The loaded preset
- Exceptions
-
FileNotFoundException | The specified file could not be found. |
IOException | There was an error reading the file. |
UnauthorizedAccessException | Read access to the file is not permitted. |
InvalidOperationException | A problem occurred while deserializing the XML data. |
◆ Movement
Vector3 OmegaEngine.Graphics.Renderables.GpuParticlePreset.Movement = new Vector3(0, 0.48f, 0) |
|
getset |
The direction and speed with which the particles move
◆ ParticleShape
float OmegaEngine.Graphics.Renderables.GpuParticlePreset.ParticleShape = 0.38f |
|
getset |
The shape of the particles
◆ ParticleSize
float OmegaEngine.Graphics.Renderables.GpuParticlePreset.ParticleSize = 7.8f |
|
getset |
The size of the particles
◆ ParticleSpread
float OmegaEngine.Graphics.Renderables.GpuParticlePreset.ParticleSpread = 20 |
|
getset |
How to spread the particles
◆ ParticleTexture
string OmegaEngine.Graphics.Renderables.GpuParticlePreset.ParticleTexture |
|
getset |
The ID of the texture to use for color lookup
◆ SpawnRadius
float OmegaEngine.Graphics.Renderables.GpuParticlePreset.SpawnRadius = 1 |
|
getset |
The largest distance from the emitter at which particle shall be spawned
◆ SystemHeight
float OmegaEngine.Graphics.Renderables.GpuParticlePreset.SystemHeight = 80 |
|
getset |
The largest distance from the emitter particles can travel before dying
The documentation for this class was generated from the following file:
- OmegaEngine/Graphics/Renderables/GpuParticlePreset.cs