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.
Constructors1
Showing 1 constructors
public MapInstance(Editor.MapDoc.MapDocument mapDocument = null)
| Parameter | Type | Description |
|---|---|---|
| mapDocument = null | MapDocument | — |
No results match this filter.
Properties2
Showing 2 properties
public Editor.MapDoc.MapNode Editor.MapDoc.MapInstance.Target { get; set; }
The target map node this MapInstance references to copy.
public string Editor.MapDoc.MapInstance.TargetMapPath { get; set; }
For a prefab, the map file it places, like "maps/prefabs/door.vmap". Null for an instance of a group in the same map.
Returns:
string—No results match this filter.