Description
The World
property of the MapNode
class provides access to the MapWorld
instance that this map node is a part of. This property is essential for understanding the context or environment in which the map node exists, allowing for operations that may depend on the broader world settings or configurations.
Usage
To access the world that a specific MapNode
belongs to, you can use the World
property. This is particularly useful when you need to perform operations that involve the entire map or when you need to reference other nodes within the same world.
Example
// Assuming 'node' is an instance of MapNode
MapWorld world = node.World;
// You can now use 'world' to perform operations or access other nodes
// within the same world context.