RectangleEmitterShape class
Spawns particles uniformly inside a rectangle centered on the emitter.
- Inheritance
-
- Object
- EmitterShape
- RectangleEmitterShape
Constructors
- RectangleEmitterShape(double width, double height)
-
Spawns particles inside a centered rectangle of
widthbyheight.const
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
samplePosition(
Random random, Vector2 out) → void -
Writes a spawn offset, relative to the emitter, into
out.override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited