Function
system
(name: string, cb: () => void, when: SystemPhase[]): voidRuns a system at the specified events in the pipeline
param name- The name of the system. Overwrites an existing system if the name has been used before.
param cb- The function to run.
param when- When to run the function. See
since v4000.0
group Plugins