Preparing search index...
The search index is not available
API
API
ApplyRoute
Class ApplyRoute
Implements
Simulation
Index
Constructors
constructor
Properties
_all
Distance
_curtime
_next
Point
_segment
Dist
_time
paths
type
Methods
clone
frame
Update
initialize
reset
toJSON
update
fromJSON
Constructors
constructor
new
Apply
Route
(
paths
,
time
?
)
:
ApplyRoute
Parameters
paths
:
[
number
,
number
,
number
]
[]
Optional
time
:
number
Returns
ApplyRoute
Properties
_all
Distance
_all
Distance
:
number
= 0
_curtime
_curtime
:
number
= 0
_next
Point
_next
Point
:
[
number
,
number
,
number
]
= ...
_segment
Dist
_segment
Dist
:
number
[]
= []
_time
_time
:
number
= 0
paths
paths
:
[
number
,
number
,
number
]
[]
type
type
:
string
= 'ApplyRoute'
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
_all
Distance
_curtime
_next
Point
_segment
Dist
_time
paths
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...