register_closure


Description:

[ Version ( since = "1.0" ) ]
public static ulong register_closure (Closure closure)

Closure variant of register_func.

Note:

There is no direct replacement for this function.

Use set_progress_func on each specific Timeline instance

Registers a global alpha function and returns its logical id to be used by set_mode or by Animation.

The logical id is always greater than ANIMATION_LAST.

Parameters:

closure

a Closure

Returns:

the logical id of the alpha function