Struct DebugLine¶
Namespace: Apogee.Core.Graphics
Assembly: Apogee.Core.dll
A line to draw, in world positions. The color is bytes r, g, b, a (see AjDebugLine (56 bytes), so physics copies its lines in as they are.
public readonly record struct DebugLine : IEquatable<DebugLine>
Implements¶
Inherited Members¶
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors¶
DebugLine(Double3, Double3, uint)¶
A line to draw, in world positions. The color is bytes r, g, b, a (see AjDebugLine (56 bytes), so physics copies its lines in as they are.
public DebugLine(Double3 From, Double3 To, uint Color)
Parameters¶
From Double3
To Double3
Color uint
Properties¶
Color¶
public uint Color { get; init; }
Property Value¶
From¶
public Double3 From { get; init; }
Property Value¶
To¶
public Double3 To { get; init; }