Function VisualScript.addFunction

Add a function with the specified name to the VisualScript.

void addFunction (
  const(String) name
) nothrow @nogc;