Class HammerEntities.HammerEntity.Line
- Namespace
- ValveResourceFormat.Renderer
- Assembly
- Renderer.dll
Defines a visual connection line between entities.
public record HammerEntities.HammerEntity.Line : IEquatable<HammerEntities.HammerEntity.Line>Inheritance
Implements
Inherited Members
Constructors
Line(Color32, string, string, string?, string?)
Defines a visual connection line between entities.
public Line(Color32 Color, string StartKey, string StartValueKey, string? EndKey = null, string? EndValueKey = null)Parameters
ColorColor32-
Line color.
StartKeystring-
Source entity property key (usually "targetname").
StartValueKeystring-
Target entity reference property.
EndKeystring?-
Optional end entity property key.
EndValueKeystring?-
Optional end entity reference property.
Properties
Color
Line color.
public Color32 Color { get; init; }Property Value
EndKey
Optional end entity property key.
public string? EndKey { get; init; }Property Value
EndValueKey
Optional end entity reference property.
public string? EndValueKey { get; init; }Property Value
StartKey
Source entity property key (usually "targetname").
public string StartKey { get; init; }Property Value
StartValueKey
Target entity reference property.
public string StartValueKey { get; init; }