Alpha.with_func
Description:
[ CCode ( has_construct_function = false ) ]
[ Version ( since = "1.0" ) ]
public Alpha.with_func (Timeline timeline, owned AlphaFunc func)
[ Version ( since = "1.0" ) ]
public Alpha.with_func (Timeline timeline, owned AlphaFunc func)
Creates a new Alpha instances and sets the timeline and the alpha function.
Note:
Use Timeline instead
This function will not register func
as a global alpha function.
See also set_timeline and set_func.
Parameters:
timeline |
a Timeline |
func | |
data |
data to pass to the function, or |
destroy |
function to call when removing the alpha function, or |
Returns:
the newly created Alpha |