Vixen
02b45cc4
csharp
public readonly record struct LineVertex

One end of a line segment, in world space.

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

Remarks

A colour per vertex rather than per segment, so a line can fade along its length — which is what a grid line disappearing into the distance and a velocity vector shaded by speed both are. A segment whose ends agree costs the same to draw.

Fields and properties (2)

  • public Vector3 Position

    Where it is.

  • public Color4 Colour

    What colour it is there, linear and straight-alpha.

Methods (1)

  • public LineVertex(Vector3 Position, Color4 Colour)

    One end of a line segment, in world space.

Used by (15)

  • DebugGeometryVixen.Engine.Renderer
  • DebugGeometryTestsVixen.Engine.Renderer.Tests
  • LineImageTestsVixen.Graphics.Golden.Tests
  • LineRendererVixen.Rendering
  • WorldSinkVixen.Engine.Renderer
  • DeclaredContributionTestsVixen.Editor.App.Tests
  • GizmoDrawVixen.Editor.SceneView
  • GizmoGeometryVixen.Editor.SceneView
  • GizmoGeometryTestsVixen.Editor.SceneView.Tests
  • ManipulationTestsVixen.Editor.SceneView.Tests
  • SceneLinesVixen.Editor.SceneView
  • ScenePresenterVixen.Editor.App
  • SplineOverlayVixen.Editor.SceneView
  • SplineOverlayTestsVixen.Editor.SceneView.Tests
  • ViewportStateTestsVixen.Editor.SceneView.Tests