-
-
Notifications
You must be signed in to change notification settings - Fork 1
Exomia.ParticleSystem
An emitter. This class cannot be inherited.
public class Exomia.ParticleSystem.Emitter
: IEmitter, IDisposable
.ctor
Emitter(Int32
capacity, TimeSpan
lifespan, IProfile
profile)
Initializes a new instance of the class.
-
capacity
- The capacity. -
lifespan
- The lifespan. -
profile
- The profile.
IModifierExecutionStrategy
ModifierExecutionStrategy
Gets or sets the modifier execution strategy.
void
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
void
Trigger(Vector2
p1, Vector2
p2)
Triggers.
-
p1
- The first Vector2. -
p2
- The second Vector2.
void
Update(GameTime
gameTime)
Updates the given gameTime.
-
gameTime
- The game time.
Interface for emitter.
public interface Exomia.ParticleSystem.IEmitter
: IDisposable
void
Trigger(Vector2
p1, Vector2
p2)
Triggers.
-
p1
- The first Vector2. -
p2
- The second Vector2.
void
Update(GameTime
gameTime)
Updates the given gameTime.
-
gameTime
- The game time.
Interface for modifier.
public interface Exomia.ParticleSystem.IModifier
void
Update(Single
elapsedSeconds, Particle*
particle, Int32
count)
Updates this object.
-
elapsedSeconds
- The elapsed in seconds. -
particle
- [in,out] If non-, the particle. -
count
- Number of.
Interface for particle system.
public interface Exomia.ParticleSystem.IParticleSystem
: IDisposable
IEmitter
Item
Indexer to get items within this collection using array index syntax.
-
index
- Zero-based index of the entry to access.
void
Trigger(Vector2
p1, Vector2
p2)
Triggers.
-
p1
- The first Vector2. -
p2
- The second Vector2.
void
Update(GameTime
gameTime)
Updates the given gameTime.
-
gameTime
- The game time.
Interface for profile.
public interface Exomia.ParticleSystem.IProfile
void
GetOffsetAndVelocity(Vector2*
offset, Vector2*
velocity)
Gets offset and velocity.
-
offset
- [in,out] If non-, the offset. -
velocity
- [in,out] If non-, the velocity.
A particle.
public struct Exomia.ParticleSystem.Particle
A particle system. This class cannot be inherited.
public class Exomia.ParticleSystem.ParticleSystem
: IParticleSystem, IDisposable
IEmitter
Item
Indexer to get items within this collection using array index syntax.
-
index
- Zero-based index of the entry to access.
void
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
void
Trigger(Vector2
p1, Vector2
p2)
Triggers.
-
p1
- The first Vector2. -
p2
- The second Vector2.
void
Update(GameTime
gameTime)
Updates the given gameTime.
-
gameTime
- The game time.
A range. This class cannot be inherited.
public class Exomia.ParticleSystem.Range
: ReleaseParameter<Int32>
.ctor
Range(Int32
min, Int32
max)
Initializes a new instance of the class.
-
min
- The minimum. -
max
- The maximum.
A range color. This class cannot be inherited.
public class Exomia.ParticleSystem.RangeColor
: ReleaseParameter<Color>
.ctor
RangeColor(Color
min, Color
max)
Initializes a new instance of the class.
-
min
- The minimum. -
max
- The maximum.
A range f. This class cannot be inherited.
public class Exomia.ParticleSystem.RangeF
: ReleaseParameter<Single>
.ctor
RangeF(Single
min, Single
max)
Initializes a new instance of the class.
-
min
- The minimum. -
max
- The maximum.
A release parameter.
public class Exomia.ParticleSystem.ReleaseParameter<T>
.ctor
ReleaseParameter`1(T
value)
Initializes a new instance of the class.
-
value
- The value.
A release parameters.
public struct Exomia.ParticleSystem.ReleaseParameters
Emitter
IEmitter
IModifier
IParticleSystem
IProfile
Particle
ParticleSystem
Range
RangeColor
RangeF
ReleaseParameter
ReleaseParameters