OptionalafterOptionalafterOptionalafterOptionalafterOptionalcommenceOptionalerrorOptionalmaxOptionalnameOptionalnoOptionalobserverOptionalonOptionalonOptionalonOptionalorderOptionaltargetReplace one of the Render cycle hook functions.
The hook name to replace; for example commence,
afterClear, afterCompile, afterShow, or error.
Optionalfunc: DefaultInputFunctionThe function to assign to that hook. Pass undefined
to clear a previously assigned hook.
One or more render targets.
Accepts a target name, a Canvas/Stack/Cell instance, or an array mixing names and instances. In most day-to-day use this will be a Canvas or Stack.