Table of Contents

Struct PluginWorldLine

Namespace
AcDream.Plugin.Abstractions
Assembly
AcDream.Plugin.Abstractions.dll

One straight line a plugin draws in the world, between two positions.

public readonly record struct PluginWorldLine : IEquatable<PluginWorldLine>
Implements
Inherited Members

Constructors

PluginWorldLine(PluginNavigationPosition, PluginNavigationPosition, uint)

One straight line a plugin draws in the world, between two positions.

public PluginWorldLine(PluginNavigationPosition Start, PluginNavigationPosition End, uint ColorRgb)

Parameters

Start PluginNavigationPosition

Where the line starts.

End PluginNavigationPosition

Where the line ends.

ColorRgb uint

The line's colour as 0xRRGGBB.

Properties

ColorRgb

The line's colour as 0xRRGGBB.

public uint ColorRgb { get; init; }

Property Value

uint

End

Where the line ends.

public PluginNavigationPosition End { get; init; }

Property Value

PluginNavigationPosition

FollowTerrain

True to keep the line just above the ground along its length, so an outdoor route reads over hills; false to draw it straight.

public bool FollowTerrain { get; init; }

Property Value

bool

Start

Where the line starts.

public PluginNavigationPosition Start { get; init; }

Property Value

PluginNavigationPosition

WidthMeters

The line's thickness in meters.

public float WidthMeters { get; init; }

Property Value

float