SHIP:Property:displayable:visible

From Serious Documentation
Jump to: navigation, search

Node: All Displayable Nodes

Property Data Type Description
visible Boolean If true (default) this node will be visible iff all direct line parent nodes up to and including the display node are also visible.

The visible property affects whether or not the node is displayed. All direct parent nodes from the node must also be visible true all the way up to the display node.

All nodes (children, grandchildren, etc.) within a non-visible node will also be non-visible. If a node is visible, the visibility of the child/grandchild nodes will be controlled the state of their own respective visible properties.

When a sub-tree of nodes is non-visible, all listener nodes anywhere within sub-tree will continue to function normally irrespective of the visibleproperty except for touch-related listeners, which will not receive events if any direct-line parent node, including box node, is not visible.

For example, a touch listener in a box where the box's visible property is false will prevent the listener from waking on touch events.