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