set_func


Description:

public void set_func (owned AlphaFunc func)

Sets the AlphaFunc function used to compute the alpha value at each frame of the Timeline bound to this.

This function will not register func as a global alpha function.

Parameters:

this

A Alpha

func

A AlphaFunc

data

user data to be passed to the alpha function, or null

destroy

notify function used when disposing the alpha function