register_func


Description:

[ Version ( since = "1.0" ) ]
public static ulong register_func (AlphaFunc func)

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

Note:

There is no direct replacement for this function.

Use set_progress_func on each specific Timeline instance

The logical id is always greater than ANIMATION_LAST.

Parameters:

func

a AlphaFunc

data

user data to pass to func, or null

Returns:

the logical id of the alpha function