Search
Preparing search index...
The search index is not available
小游戏框架
Options
All
Public
Public/Protected
All
Inherited
Menu
小游戏框架
PlayableGraph
Class PlayableGraph
Hierarchy
PlayableGraph
Index
Constructors
constructor
Properties
is
Playing
Accessors
local
Time
Methods
clear
Output
connect
create
Playable
destroy
evaluate
get
Output
get
Output
Count
get
Root
Playable
play
set
Local
Time
set
Output
stop
Create
Constructors
constructor
new
Playable
Graph
(
)
:
PlayableGraph
Returns
PlayableGraph
Properties
is
Playing
is
Playing
:
boolean
= false
Accessors
local
Time
get
localTime
(
)
:
number
Returns
number
Methods
clear
Output
clear
Output
(
)
:
void
Returns
void
connect
connect
(
source
:
PlayableClass
, sourceOutputPort
:
number
, destination
:
PlayableClass
, destinationInputPort
:
number
)
:
boolean
Parameters
source:
PlayableClass
sourceOutputPort:
number
destination:
PlayableClass
destinationInputPort:
number
Returns
boolean
create
Playable
create
Playable<T>
(
ctor
:
new
(
...
args
:
any
)
=>
T
)
:
T
Type parameters
T
:
PlayableClass
<
T
>
Parameters
ctor:
new
(
...
args
:
any
)
=>
T
new
(
...
args
:
any
)
:
T
Parameters
Rest
...
args:
any
Returns
T
Returns
T
destroy
destroy
(
)
:
void
Returns
void
evaluate
evaluate
(
forceUpdate
?:
boolean
)
:
void
Parameters
forceUpdate:
boolean
= false
Returns
void
get
Output
get
Output
(
index
:
number
)
:
default
Parameters
index:
number
Returns
default
get
Output
Count
get
Output
Count
(
)
:
number
Returns
number
get
Root
Playable
get
Root
Playable
(
index
:
any
)
:
void
Parameters
index:
any
Returns
void
play
play
(
)
:
void
Returns
void
set
Local
Time
set
Local
Time
(
time
:
number
)
:
void
Parameters
time:
number
Returns
void
set
Output
set
Output
(
output
:
default
, port
:
number
)
:
void
Parameters
output:
default
port:
number
Returns
void
stop
stop
(
)
:
void
Returns
void
Static
Create
Create
(
)
:
PlayableGraph
Returns
PlayableGraph
Exports
Playable
Graph
constructor
is
Playing
local
Time
clear
Output
connect
create
Playable
destroy
evaluate
get
Output
get
Output
Count
get
Root
Playable
play
set
Local
Time
set
Output
stop
Create
Generated using
TypeDoc