BehaviourOpacity


Description:

[ CCode ( has_construct_function = false , type = "ClutterBehaviour*" ) ]
public BehaviourOpacity (Alpha? alpha, uint8 opacity_start, uint8 opacity_end)

Creates a new BehaviourOpacity object, driven by alpha which controls the opacity property of every actor, making it change in the interval between opacity_start and opacity_end .

If alpha is not null, the Behaviour will take ownership of the Alpha instance. In the case when alpha is null, it can be set later with set_alpha.

Parameters:

alpha

a Alpha instance, or null

opacity_start

minimum level of opacity

opacity_end

maximum level of opacity

Returns:

the newly created BehaviourOpacity