resonance 1.0.1
Loading...
Searching...
No Matches
scriptcmd.h File Reference

Go to the source code of this file.

Namespaces

namespace  Sch
 Scheduling of timed commands.

Functions

Sch::Command * NewScriptCmd (const HxStr &script)
 Build a command that hands script text to the script sink when it runs.

Function Documentation

◆ NewScriptCmd()

Sch::Command * NewScriptCmd ( const HxStr & script)

Build a command that hands script text to the script sink when it runs.

The command is the file-local ScriptCmd of the post-script unit. The hx.PostScript binding builds it inline; this factory shares the construction without duplicating the class.

Parameters
scriptThe script text to run.
Returns
The new command.