|
Chunks
Moddable voxel sandbox for room-scale VR.
|
A resource describing a particle effect that can have randomized parameters. More...
Public Member Functions | |
| ParticleEffect () | |
| Constructs a new particle effect with default paramters. More... | |
Public Attributes | |
| int | FrameCount => _frameIndices.Count |
| The total number of frames of animation in this particle effect. More... | |
Protected Member Functions | |
| override void | OnReadDefinition (JToken token, string directory) |
| When overridden in an inheriting class, handles reading information about the resource from a json token. More... | |
Properties | |
| ParticleRenderMode | RenderMode [get, set] |
| Curve | Lifetime [get, set] |
| A curve defining the range of lifetimes for particles. More... | |
| Curve | EmissionRate [get, set] |
| A curve defining the range of emission rates for particles. More... | |
| Curve | BurstCount [get, set] |
| A curve defining the range of burst counts for particles. More... | |
| Curve | StartSize [get, set] |
| A curve defining the range of starting sizes for particles. More... | |
| Curve | SpawnRadius [get, set] |
| A curve defining the range of spawn radii for particles. More... | |
| Curve | StartSpeed [get, set] |
| A curve defining the range of initial speeds for particles. More... | |
| Curve | SpeedDecay [get, set] |
| A curve defining the range of the rate of speed decay for particles. More... | |
| Curve | StartRotation [get, set] |
| A curve defining the range of initial rotations for particles. More... | |
| Curve | RotationSpeed [get, set] |
| A curve defining the range of rotation speeds for particles. More... | |
A resource describing a particle effect that can have randomized parameters.
| Chunks.Graphics.ParticleEffect.ParticleEffect | ( | ) |
Constructs a new particle effect with default paramters.
|
protected |
When overridden in an inheriting class, handles reading information about the resource from a json token.
| token | Token to load the resource from |
| directory | Location of the loaded json file's parent directory |
| int Chunks.Graphics.ParticleEffect.FrameCount => _frameIndices.Count |
The total number of frames of animation in this particle effect.
|
getset |
A curve defining the range of burst counts for particles.
|
getset |
A curve defining the range of emission rates for particles.
|
getset |
A curve defining the range of lifetimes for particles.
|
getset |
|
getset |
A curve defining the range of rotation speeds for particles.
|
getset |
A curve defining the range of spawn radii for particles.
|
getset |
A curve defining the range of the rate of speed decay for particles.
|
getset |
A curve defining the range of initial rotations for particles.
|
getset |
A curve defining the range of starting sizes for particles.
|
getset |
A curve defining the range of initial speeds for particles.
1.8.10