bool Visible { get; set; }

book_4_sparkGenerated
code_blocksInput

Description

The Visible property of the MapNode class indicates whether the map node is currently visible to the user. This property is useful for determining if a node has been hidden or shown in the editor environment.

Usage

To check if a MapNode is visible, access the Visible property. You can also set this property to true or false to change the visibility state of the node.

Example

// Example of using the Visible property
MapNode node = new MapNode();

// Check if the node is visible
bool isVisible = node.Visible;

// Set the node to be invisible
node.Visible = false;

// Set the node to be visible
node.Visible = true;