Jumpvalley 0.7.0
An app and library that can be used to test and run 3D platformer levels! Made with Godot.
Loading...
Searching...
No Matches
UTheCat.Jumpvalley.Core.Gui.BackgroundPanel Class Reference

Handler for the BackgroundPanel, a panel (or some other Godot Control) that acts as a background for a currently visible menu. More...

Inheritance diagram for UTheCat.Jumpvalley.Core.Gui.BackgroundPanel:
UTheCat.Jumpvalley.Core.Animation.AnimatedNode

Public Member Functions

 BackgroundPanel (Control node)
Public Member Functions inherited from UTheCat.Jumpvalley.Core.Animation.AnimatedNode
 AnimatedNode (Node actualNode)
 Creates a new instance of AnimatedNode
new void Dispose ()
 Disposes of this AnimatedNode.

To assist with garbage collection, this method will automatically call the AnimatedNode's QueueFree method.

By default, the implementation of this Dispose() method does nothing to ActualNode (e.g. the default implementation of this Dispose() method doesn't free ActualNode from memory).

Public Attributes

float _opacity

Properties

override bool IsVisible [get, set]
float Opacity [get, set]
 The opacity of the background panel to reach when it's visible.
Properties inherited from UTheCat.Jumpvalley.Core.Animation.AnimatedNode
Node ActualNode [get]
 The node to be animated.
virtual bool IsVisible [get, set]
 Whether or not ActualNode should be visible. Classes deriving from AnimatedNode will typically display show/hide animations when this property is toggled.

This property does not indicate whether or not ActualNode is actually visible. For example, IsVisible could be set to false while ActualNode is still visible (but an animation is playing to hide ActualNode).

To determine whether or not ActualNode is actually visible, use ActualNode's Visible property (or a similar equivalent if ActualNode isn't a Node2D, Node3D, or Control).

Additional Inherited Members

Protected Member Functions inherited from UTheCat.Jumpvalley.Core.Animation.AnimatedNode
void RaiseVisibilityChanged (bool isVisible)
Events inherited from UTheCat.Jumpvalley.Core.Animation.AnimatedNode
EventHandler< bool > VisibilityChanged
 Event that's raised when the IsVisible is set or changed. The boolean argument of this event is the new value of IsVisible.

This event will fire even if something sets the IsVisible property to the same value (meaning the truth value of IsVisible didn't change after setting the property.) Store the "old/previous" value of IsVisible somewhere to check if the value of IsVisible actually changed.

Detailed Description

Handler for the BackgroundPanel, a panel (or some other Godot Control) that acts as a background for a currently visible menu.


The documentation for this class was generated from the following file: