Preparing search index...
The search index is not available
API
API
GravityForce
Class GravityForce
Implements
Simulation
Index
Constructors
constructor
Properties
center
magnitude
temp
type
Methods
clone
frame
Update
initialize
reset
toJSON
update
fromJSON
Constructors
constructor
new
Gravity
Force
(
center
,
magnitude
)
:
GravityForce
Parameters
center
:
Vector3
magnitude
:
number
Returns
GravityForce
Properties
center
center
:
Vector3
magnitude
magnitude
:
number
temp
temp
:
Vector3
= ...
type
type
:
string
= 'GravityForce'
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
center
magnitude
temp
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...