Preparing search index...
The search index is not available
API
API
ApplyForce
Class ApplyForce
Implements
Simulation
Index
Constructors
constructor
Properties
direction
magnitude
magnitude
Value
type
Methods
clone
frame
Update
initialize
reset
toJSON
update
fromJSON
Constructors
constructor
new
Apply
Force
(
direction
,
magnitude
)
:
ApplyForce
Parameters
direction
:
Vector3
magnitude
:
ValueGenerator
Returns
ApplyForce
Properties
direction
direction
:
Vector3
magnitude
magnitude
:
ValueGenerator
magnitude
Value
magnitude
Value
:
number
type
type
:
string
= 'ApplyForce'
Methods
clone
clone
(
)
:
Simulation
Returns
Simulation
frame
Update
frame
Update
(
delta
)
:
void
Parameters
delta
:
number
Returns
void
initialize
initialize
(
particle
)
:
void
Parameters
particle
:
Particle
Returns
void
reset
reset
(
)
:
void
Returns
void
toJSON
toJSON
(
)
:
any
Returns
any
update
update
(
particle
,
delta
)
:
void
Parameters
particle
:
Particle
delta
:
number
Returns
void
Static
fromJSON
fromJSON
(
json
)
:
Simulation
Parameters
json
:
any
Returns
Simulation
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
constructor
direction
magnitude
magnitude
Value
type
clone
frame
Update
initialize
reset
toJSON
update
fromJSON
API
AlgorithmPluginType
CANNON
Tiles3dPluginType
default
reactivity
render2d
BehaviorStatus
BlendFunction
EdgeDetectionMode
EffectAttribute
EmitterMode
GlitchMode
KernelSize
MapOpenWay
NodeType
NodeValueType
OrderIndex
ParallelBehaviorPolicy
PredicationMode
RayQueryType
RenderMode
Loading...