Skip to content

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 ). The layout is that of Jolt's AjDebugLine (56 bytes), so physics copies its lines in as they are.

public readonly record struct DebugLine : IEquatable<DebugLine>

Implements

IEquatable<DebugLine>

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 ). The layout is that of Jolt's 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

uint

From

public Double3 From { get; init; }

Property Value

Double3

To

public Double3 To { get; init; }

Property Value

Double3