Preparing search index...
The search index is not available
API
API
ICommandModule
Interface ICommandModule
interface
ICommandModule
{
addAllCommands
:
(
(
cmds
)
=>
void
)
;
addCommand
:
(
(
cmd
)
=>
void
)
;
addManyCommands
:
(
(
...
cmds
)
=>
void
)
;
clearCommands
:
(
(
)
=>
void
)
;
commandHistory
:
CommandHistory
;
executeAllCommands
:
(
(
cmds
)
=>
void
)
;
executeCommand
:
(
(
cmd
)
=>
void
)
;
executeManyCommands
:
(
(
...
cmds
)
=>
void
)
;
redo
:
(
(
)
=>
any
)
;
undo
:
(
(
)
=>
any
)
;
}
Implemented by
App
Index
Properties
add
All
Commands
add
Command
add
Many
Commands
clear
Commands
command
History
execute
All
Commands
execute
Command
execute
Many
Commands
redo
undo
Properties
add
All
Commands
add
All
Commands
:
(
(
cmds
)
=>
void
)
增加所有命令,不会自动执行
Type declaration
(
cmds
)
:
void
增加所有命令,不会自动执行
Parameters
cmds
:
ICommand
[]
Returns
void
add
Command
add
Command
:
(
(
cmd
)
=>
void
)
增加命令,不会自动执行
Type declaration
(
cmd
)
:
void
增加命令,不会自动执行
Parameters
cmd
:
ICommand
Returns
void
add
Many
Commands
add
Many
Commands
:
(
(
...
cmds
)
=>
void
)
增加多个命令,不会自动执行
Type declaration
(
...
cmds
)
:
void
增加多个命令,不会自动执行
Parameters
Rest
...
cmds
:
ICommand
[]
Returns
void
clear
Commands
clear
Commands
:
(
(
)
=>
void
)
清空命令
Type declaration
(
)
:
void
清空命令
Returns
void
Readonly
command
History
command
History
:
CommandHistory
execute
All
Commands
execute
All
Commands
:
(
(
cmds
)
=>
void
)
执行所有命令,自动执行
Type declaration
(
cmds
)
:
void
执行所有命令,自动执行
Parameters
cmds
:
ICommand
[]
Returns
void
execute
Command
execute
Command
:
(
(
cmd
)
=>
void
)
执行命令,自动执行
Type declaration
(
cmd
)
:
void
执行命令,自动执行
Parameters
cmd
:
ICommand
Returns
void
execute
Many
Commands
execute
Many
Commands
:
(
(
...
cmds
)
=>
void
)
执行多个命令,自动执行
Type declaration
(
...
cmds
)
:
void
执行多个命令,自动执行
Parameters
Rest
...
cmds
:
ICommand
[]
Returns
void
redo
redo
:
(
(
)
=>
any
)
还原
Type declaration
(
)
:
any
还原
Returns
any
undo
undo
:
(
(
)
=>
any
)
撤销
Type declaration
(
)
:
any
撤销
Returns
any
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
add
All
Commands
add
Command
add
Many
Commands
clear
Commands
command
History
execute
All
Commands
execute
Command
execute
Many
Commands
redo
undo
API
AlgorithmPluginType
CANNON
Tiles3dPluginType
default
reactivity
render2d
BehaviorStatus
BlendFunction
EdgeDetectionMode
EffectAttribute
EmitterMode
GlitchMode
KernelSize
MapOpenWay
NodeType
NodeValueType
OrderIndex
ParallelBehaviorPolicy
PredicationMode
RayQueryType
RenderMode
Loading...
增加所有命令,不会自动执行