Table of Contents

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

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.

public Color32 Color { get; init; }

Property Value

Color32

EndKey

Optional end entity property key.

public string? EndKey { get; init; }

Property Value

string?

EndValueKey

Optional end entity reference property.

public string? EndValueKey { get; init; }

Property Value

string?

StartKey

Source entity property key (usually "targetname").

public string StartKey { get; init; }

Property Value

string

StartValueKey

Target entity reference property.

public string StartValueKey { get; init; }

Property Value

string