Vixen
02b45cc4
csharp
public readonly record struct DebugScreenLine

One line to draw in screen space, in pixels from the top-left.

No guide page documents this yet — the page shows what the code says about itself.

Fields and properties (4)

  • public Vector2 From

    Where it starts.

  • public Vector2 To

    Where it ends.

  • public Color4 Colour

    What colour it is.

  • public float Remaining

    Seconds left to live. Zero means "this frame only".

Methods (2)

  • public DebugScreenLine(Vector2 From, Vector2 To, Color4 Colour, float Remaining)

    One line to draw in screen space, in pixels from the top-left.

  • public DebugScreenLine WithRemaining(float remaining)

    The same entry with a different lifetime.

Used by (4)

  • ConsoleTestsVixen.Engine.Tests
  • DebugDrawVixen.Engine
  • DebugDrawShapeTestsVixen.Engine.Tests
  • DebugGeometryVixen.Engine.Renderer