c2.js
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Arc
Field
Circle
Constraint
Circle
Field
Collision
Const
Force
Constraint
Force
Gravitation
Interaction
Force
Line
Field
Particle
Point
Field
constructor
point
strength
apply
force
range
Polygon
Constraint
Rect
Constraint
Spring
World
Hierarchy
Force
PointField
Index
Constructors
constructor
Properties
point
strength
Methods
apply
force
range
Constructors
constructor
new
Point
Field
(
point
:
Point
, strength
?:
number
)
:
PointField
Parameters
point:
Point
strength:
number
= 1
Returns
PointField
Properties
point
point
:
Point
strength
strength
:
number
Methods
apply
apply
(
p
:
Particle
)
:
void
Parameters
p:
Particle
Returns
void
force
force
(
position
:
Vector
)
:
Vector
Parameters
position:
Vector
Returns
Vector
range
range
(
min
?:
number
, max
?:
number
)
:
void
Parameters
min:
number
= 0
max:
number
= ...
Returns
void