commandThe command object of the commandGroup to destroy.
Zurückgegebener Wert
bool
This method removes specified command object from the commandGroup object.
function onSample()
{
var commandGroup = scene.getCommandGroupById("myCmdGrp");
if (commandGroup)
{
var command = commandGroup.getCommandById("cmdFoo1");
if (command)
{
commandGroup.removeCommand(command);
}
}
}