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
StartPluginNavigationPositionWhere the line starts.
EndPluginNavigationPositionWhere the line ends.
ColorRgbuintThe line's colour as 0xRRGGBB.
Properties
ColorRgb
The line's colour as 0xRRGGBB.
public uint ColorRgb { get; init; }
Property Value
End
Where the line ends.
public PluginNavigationPosition End { get; init; }
Property Value
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
Start
Where the line starts.
public PluginNavigationPosition Start { get; init; }
Property Value
WidthMeters
The line's thickness in meters.
public float WidthMeters { get; init; }