Class CMapPath
Namespace: ValveResourceFormat.IO.ContentFormats.ValveMap
Assembly: ValveResourceFormat.dll
A path: an ordered chain of children that Hammer edits as one spline, carrying the entity keys of the path class it was placed as. The map compiler flattens the chain into the entity's own pathNodes key and drops the children.
[CamelCaseProperties]
public class CMapPath : CMapEntity, IDictionary<string, object?>, ICollection<KeyValuePair<string, object?>>, IEnumerable<KeyValuePair<string, object?>>, IDictionary, ICollection, IEnumerable, IEquatable<Element>Inheritance
object ← AttributeList ← Element ← MapNode ← BaseEntity ← CMapEntity ← CMapPath
Derived
Implements
IDictionary<string, object?>, ICollection<KeyValuePair<string, object?>>, IEnumerable<KeyValuePair<string, object?>>, IDictionary, ICollection, IEnumerable, IEquatable<Element>
Inherited Members
CMapEntity.HitNormal, CMapEntity.IsProceduralEntity, BaseEntity.RelayPlugData, BaseEntity.ConnectionsData, BaseEntity.EntityProperties, BaseEntity.WithProperty(string, string), BaseEntity.WithProperties(params (string name, string value)[]), BaseEntity.WithClassName(string), MapNode.Origin, MapNode.Angles, MapNode.Scales, MapNode.NodeID, MapNode.ReferenceID, MapNode.Children, MapNode.EditorOnly, MapNode.ForceHidden, MapNode.TransformLocked, MapNode.VariableTargetKeys, MapNode.VariableNames, Element.GetPropertyDerivedAttributeList(), Element.Get<T>(string), Element.GetArray<T>(string), Element.Contains(string), Element.ToString(), Element.ContainsKey(string), Element.Equals(Element?), Element.Equals(object?), Element.GetHashCode(), 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
ClosedLoop
Whether the last node joins back onto the first.
public bool ClosedLoop { get; set; }Property Value
InterpolationType
How the spline runs between its nodes.
public int InterpolationType { get; set; }Property Value
ParticleSnapshotSpacing
Distance, in units, between the points of the particle snapshot a path can generate.
public float ParticleSnapshotSpacing { get; set; }
