Class: Gsk::CrossFadeNode
- Inherits:
-
RenderNode
- Object
- RenderNode
- Gsk::CrossFadeNode
- Defined in:
- (unknown)
Overview
A render node cross fading between two child nodes.
Instance Method Summary collapse
-
#end_child ⇒ Gsk::RenderNode
Retrieves the child
GskRenderNodeat the end of the cross-fade. -
#initialize(start, end, progress) ⇒ Gsk::CrossFadeNode
constructor
Creates a
GskRenderNodethat will do a cross-fade between start and end. -
#progress ⇒ Gsk::gfloat
Retrieves the progress value of the cross fade.
-
#start_child ⇒ Gsk::RenderNode
Retrieves the child
GskRenderNodeat the beginning of the cross-fade.
Methods inherited from RenderNode
deserialize, #draw, #get_bounds, #node_type, #ref, #serialize, #unref, #write_to_file
Constructor Details
#initialize(start, end, progress) ⇒ Gsk::CrossFadeNode
Creates a GskRenderNode that will do a cross-fade between start and end.
Instance Method Details
#end_child ⇒ Gsk::RenderNode
Retrieves the child GskRenderNode at the end of the cross-fade.
#progress ⇒ Gsk::gfloat
Retrieves the progress value of the cross fade.
#start_child ⇒ Gsk::RenderNode
Retrieves the child GskRenderNode at the beginning of the cross-fade.