API ReferenceEditor.MapDoc

MapInstanceclass

A map node which allows a target group and its children to be placed with a new position and orientation in the world without creating a new copy. Multiple MapInstance classes may reference the same target allowing it to be placed in multiple locations, but allowing any edits to be applied to all instances.

objectMapNodeMapInstance
Namespace
Editor.MapDoc
Assembly
Sandbox.Tools
Declaration
public sealed class Editor.MapDoc.MapInstance : Editor.MapDoc.MapNode

Constructors1

Showing 1 constructors

public MapInstance(Editor.MapDoc.MapDocument mapDocument = null)PUBLICCONSTRUCTOR

ParameterTypeDescription
mapDocument = nullMapDocument

Properties1

Showing 1 properties

public Editor.MapDoc.MapNode Editor.MapDoc.MapInstance.Target { get; set; }PUBLICGETSET

The target map node this MapInstance references to copy.

Returns:MapNode

On this page