Class MapNode
Namespace: ValveResourceFormat.IO.ContentFormats.ValveMap
Assembly: ValveResourceFormat.dll
Base of everything that appears in the map tree: a transform, an id, and child nodes.
[CamelCaseProperties]
public abstract class MapNode : Element, IDictionary<string, object?>, ICollection<KeyValuePair<string, object?>>, IEnumerable<KeyValuePair<string, object?>>, IDictionary, ICollection, IEnumerable, IEquatable<Element>Inheritance
object ← AttributeList ← Element ← MapNode
Derived
BaseEntity, CDmePolygonMesh, CMapGroup, CMapMesh, CMapPrefab, CVisibilityMgr
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
Angles
Rotation of the node, relative to its parent.
public QAngle Angles { get; set; }Property Value
QAngle
Children
Child nodes parented to this one.
public ElementArray Children { get; }Property Value
ElementArray
EditorOnly
Whether the node is stripped at compile time.
public bool EditorOnly { get; set; }Property Value
ForceHidden
Whether the node is hidden in Hammer.
[DMProperty("force_hidden", false)]
public bool ForceHidden { get; set; }Property Value
NodeID
Id of the node within the map, referenced by and selection sets.
public int NodeID { get; set; }Property Value
Origin
Position of the node, relative to its parent.
public Vector3 Origin { get; set; }Property Value
ReferenceID
Id the node keeps across prefab and instance boundaries.
public ulong ReferenceID { get; set; }Property Value
Scales
Scale of the node, relative to its parent.
public Vector3 Scales { get; set; }Property Value
TransformLocked
Whether Hammer refuses to move the node.
public bool TransformLocked { get; set; }Property Value
VariableNames
Map variables driving .
public StringArray VariableNames { get; }Property Value
StringArray
VariableTargetKeys
Entity keys driven by a map variable, parallel to .
public StringArray VariableTargetKeys { get; }Property Value
StringArray

