GitHub
Quarks VFX
Preparing search index...
The search index is not available
Documentation
Documentation
quarks.core
RectangleEmitter
Class RectangleEmitter
a particle emitter that emits particles from a rectangle.
Implements
EmitterShape
Index
Constructors
constructor
Properties
height
memory
mode
speed
spread
thickness
type
width
Methods
clone
initialize
toJSON
update
fromJSON
Constructors
constructor
new
RectangleEmitter
(
parameters
?:
RectangleEmitterParameters
)
:
RectangleEmitter
Parameters
parameters
:
RectangleEmitterParameters
= {}
Returns
RectangleEmitter
Properties
height
height
:
number
memory
memory
:
GeneratorMemory
mode
mode
:
EmitterMode
speed
speed
:
ValueGenerator
|
FunctionValueGenerator
spread
spread
:
number
thickness
thickness
:
number
type
type
:
string
= 'rectangle'
width
width
:
number
Methods
clone
clone
()
:
EmitterShape
Returns
EmitterShape
initialize
initialize
(
p
:
Particle
,
emissionState
:
EmissionState
)
:
void
Parameters
p
:
Particle
emissionState
:
EmissionState
Returns
void
toJSON
toJSON
()
:
ShapeJSON
Returns
ShapeJSON
update
update
(
system
:
IParticleSystem
,
delta
:
number
)
:
void
Parameters
system
:
IParticleSystem
delta
:
number
Returns
void
Static
fromJSON
fromJSON
(
json
:
any
)
:
RectangleEmitter
Parameters
json
:
any
Returns
RectangleEmitter
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
height
memory
mode
speed
spread
thickness
type
width
Methods
clone
initialize
toJSON
update
fromJSON
GitHub
Quarks VFX
Documentation
Loading...
a particle emitter that emits particles from a rectangle.