s&box docs
API ReferenceEditor.MapDoc

public class Editor.MapDoc.MapNode

A common class used for all objects in the world object tree.

Methods

Showing 2 methods

public Editor.MapDoc.MapNode Copy()

Creates a copy of this map node.

public void Remove()

Properties

Showing 10 properties

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

Each MapNode can have many children. Children usually transform with their parents, etc.

public bool Editor.MapDoc.MapNode.GeneratesEntityModelGeometry { get; set; }

Does this map node generate models to use?

public string Editor.MapDoc.MapNode.Name { get; set; }

User specified name of this node

public Editor.MapDoc.MapNode Editor.MapDoc.MapNode.Parent { get; set; }

The parent node, at the top level this will be the `Editor.MapDoc.MapWorld`

public Vector3 Editor.MapDoc.MapNode.Scale { get; set; }

Non-uniform scalar for this map node.

public string Editor.MapDoc.MapNode.TypeString { get; set; }

Native C++ type name for this map node (nice for debug, might disappear at some point)

public bool Editor.MapDoc.MapNode.Visible { get; set; }

Visibility of this MapNode, e.g if it's been hidden by the user

public Editor.MapDoc.MapWorld Editor.MapDoc.MapNode.World { get; set; }

The world this map node belongs to.

Metadata

FieldValue
NamespaceEditor.MapDoc
Typeclass
AssemblySandbox.Tools
Doc IDT:Editor.MapDoc.MapNode

On this page