Class CMapRootElement
Namespace: ValveResourceFormat.IO.ContentFormats.ValveMap
Assembly: ValveResourceFormat.dll
Valve Map (VMAP) format version 29.
[LowercaseProperties]
public class CMapRootElement : Element, IDictionary<string, object?>, ICollection<KeyValuePair<string, object?>>, IEnumerable<KeyValuePair<string, object?>>, IDictionary, ICollection, IEnumerable, IEquatable<Element>Inheritance
object ← AttributeList ← Element ← CMapRootElement
Implements
IDictionary<string, object?>, ICollection<KeyValuePair<string, object?>>, IEnumerable<KeyValuePair<string, object?>>, IDictionary, ICollection, IEnumerable, IEquatable<Element>
Inherited Members
Element.GetPropertyDerivedAttributeList(), Element.Get<T>(string), Element.GetArray<T>(string), Element.Contains(string), Element.ToString(), Element.ContainsKey(string), Element.Equals(Element?), Element.ID, Element.Name, Element.ClassName, Element.Stub, Element.Owner, Element.this[string], AttributeList.Attribute_ChangeLock, AttributeList.Add(string, object?), AttributeList.GetPropertyDerivedAttributeList(), AttributeList.GetOverrideType(string), AttributeList.SetOverrideType(string, AttributeList.OverrideType?), AttributeList.Remove(string), AttributeList.TryGetValue(string, out object?), AttributeList.ContainsKey(string), AttributeList.RemoveAt(int), AttributeList.IndexOf(string), AttributeList.Clear(), AttributeList.GetAllAttributesForSerialization(), AttributeList.GetEnumerator(), AttributeList.OnPropertyChanged(string), AttributeList.OnCollectionChanged(NotifyCollectionChangedEventArgs), AttributeList.Owner, AttributeList.Keys, AttributeList.Values, AttributeList.this[string], AttributeList.this[int], AttributeList.Count, AttributeList.IsFixedSize, AttributeList.IsReadOnly, AttributeList.IsSynchronized, AttributeList.SyncRoot, AttributeList.PropertyChanged, AttributeList.CollectionChanged
Properties
Cameras
Saved cameras.
[DMProperty("3dcameras", false)]
public CStoredCameras Cameras { get; init; }Property Value
CordonsVisible
Whether cordon bounds are drawn.
[DMProperty("m_bCordonsVisible", false)]
public bool CordonsVisible { get; set; }Property Value
DefaultCamera
Camera Hammer opens the map with.
public CStoredCamera DefaultCamera { get; init; }Property Value
EditorBuild
Hammer build number that wrote the file.
public int EditorBuild { get; set; }Property Value
EditorVersion
Map format version.
public int EditorVersion { get; set; }Property Value
GridSpacing
Translation snap in world units.
public float GridSpacing { get; set; }Property Value
IsCordoning
Whether the cordon is active.
[DMProperty("m_bIsCordoning", false)]
public bool IsCordoning { get; set; }Property Value
IsPrefab
Whether this file is a prefab rather than a standalone map.
public bool IsPrefab { get; set; }Property Value
ItemFile
Path to the item file this map uses, if any.
[DMProperty("itemFile", false)]
public string ItemFile { get; set; }Property Value
MapVariables
Map variables and their values.
[DMProperty("mapVariables", false)]
public CMapVariableSet MapVariables { get; init; }Property Value
NodeInstanceData
Per node instance data.
[DMProperty("nodeInstanceData", false)]
public ElementArray NodeInstanceData { get; }Property Value
ElementArray
ReferencedMeshSnapshots
Mesh snapshots the map references.
[DMProperty("m_ReferencedMeshSnapshots", false)]
public ElementArray ReferencedMeshSnapshots { get; }Property Value
ElementArray
RootSelectionSet
Root of the selection set tree.
[DMProperty("rootSelectionSet", false)]
public CMapSelectionSet RootSelectionSet { get; init; }Property Value
Show3DGrid
Whether the 3D grid is drawn.
public bool Show3DGrid { get; set; }Property Value
ShowGrid
Whether the 2D grid is drawn.
public bool ShowGrid { get; set; }Property Value
SnapRotationAngle
Rotation snap in degrees.
public int SnapRotationAngle { get; set; }Property Value
Visibility
Per node hidden state.
public CVisibilityMgr Visibility { get; init; }Property Value
World
Root of the map tree.
public CMapWorld World { get; init; }
