API ReferenceEditor.MapDoc

MapWorldclass

MapWorld is the root node of a `Editor.MapDoc.MapDocument`, however it can have multiple sub `Editor.MapDoc.MapWorld` of prefabs.

object→MapNode→MapWorld
Namespace
Editor.MapDoc
Assembly
Sandbox.Tools
Declaration
public sealed class Editor.MapDoc.MapWorld : Editor.MapDoc.MapNode

Methods1

Showing 1 methods

public Editor.MapDoc.MapNode FindNode(int nodeId)PUBLIC

Find a node in this world by its `Editor.MapDoc.MapNode.NodeId`. Null if there isn't one.

ParameterTypeDescription
nodeIdint—
Returns:MapNode—

Properties4

Showing 4 properties

public System.Collections.Generic.IEnumerable`1<Editor.MapDoc.MapNode> Editor.MapDoc.MapWorld.Children { get; set; }PUBLICGETSET

All children nodes of this world.

Note

This returns nested descendants currently, that might change?

Returns:IEnumerable<MapNode>—

public string Editor.MapDoc.MapWorld.MapPathName { get; set; }PUBLICGETSET

Returns:string—

On this page