GitHub
Quarks VFX
Preparing search index...
The search index is not available
Documentation
Documentation
quarks.core
ForceOverLife
Class ForceOverLife
Apply a force to particles over their life.
Implements
Behavior
Index
Constructors
constructor
Properties
_temp
_tempQ
_temp
Scale
ps
type
x
y
z
Methods
clone
frame
Update
initialize
reset
toJSON
update
fromJSON
Constructors
constructor
new
ForceOverLife
(
x
:
ValueGenerator
|
FunctionValueGenerator
,
y
:
ValueGenerator
|
FunctionValueGenerator
,
z
:
ValueGenerator
|
FunctionValueGenerator
,
)
:
ForceOverLife
Parameters
x
:
ValueGenerator
|
FunctionValueGenerator
y
:
ValueGenerator
|
FunctionValueGenerator
z
:
ValueGenerator
|
FunctionValueGenerator
Returns
ForceOverLife
Properties
_temp
_temp
:
Vector3
= ...
_tempQ
_tempQ
:
Quaternion
= ...
_temp
Scale
_tempScale
:
Vector3
= ...
ps
ps
:
IParticleSystem
type
type
:
string
= 'ForceOverLife'
x
x
:
ValueGenerator
|
FunctionValueGenerator
y
y
:
ValueGenerator
|
FunctionValueGenerator
z
z
:
ValueGenerator
|
FunctionValueGenerator
Methods
clone
clone
()
:
Behavior
Returns
Behavior
frame
Update
frameUpdate
(
delta
:
number
)
:
void
Parameters
delta
:
number
Returns
void
initialize
initialize
(
particle
:
Particle
,
particleSystem
:
IParticleSystem
)
:
void
Parameters
particle
:
Particle
particleSystem
:
IParticleSystem
Returns
void
reset
reset
()
:
void
Returns
void
toJSON
toJSON
()
:
any
Returns
any
update
update
(
particle
:
Particle
,
delta
:
number
)
:
void
Parameters
particle
:
Particle
delta
:
number
Returns
void
Static
fromJSON
fromJSON
(
json
:
any
)
:
Behavior
Parameters
json
:
any
Returns
Behavior
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
_temp
_tempQ
_temp
Scale
ps
type
x
y
z
Methods
clone
frame
Update
initialize
reset
toJSON
update
fromJSON
GitHub
Quarks VFX
Documentation
Loading...
Apply a force to particles over their life.