TransitionCommand
Extends: ESCBaseCommand < Node
Description
transition transition_name mode [delay]
Performs a transition into or out of a room programmatically.
Parameters
transition_name: Name of the transition shader from one of the transition directories
mode: Set to
in
to transition into orout
to transition out of the roomdelay: Delay in seconds before starting the transition (default:
1.0
)
@ESC
Method Descriptions
configure
func configure() -> ESCCommandArgumentDescriptor
Return the descriptor of the arguments of this command
validate
func validate(arguments: Array)
Validate whether the given arguments match the command descriptor
run
func run(command_params: Array) -> var
Run the command
interrupt
func interrupt()
Function called when the command is interrupted.