Vixen
dd8b0a81
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 (27)

  • DebugGeometryVixen.Engine.Renderer
  • DebugGeometryTestsVixen.Engine.Renderer.Tests
  • LineImageTestsVixen.Graphics.Golden.Tests
  • LineRendererVixen.Rendering
  • WorldSinkVixen.Engine.Renderer
  • BlockoutHoverTestsVixen.Editor.Blockout.Tests
  • BlockoutKnifeTestsVixen.Editor.Blockout.Tests
  • DeclaredContributionTestsVixen.Editor.App.Tests
  • EditorApplicationVixen.Editor.App
  • FramePresenterVixen.Editor.App
  • GizmoDrawVixen.Editor.SceneView
  • GizmoGeometryVixen.Editor.SceneView
  • GizmoGeometryTestsVixen.Editor.SceneView.Tests
  • LodRangeTestsVixen.Editor.SceneView.Tests
  • ManipulationTestsVixen.Editor.SceneView.Tests
  • SceneDiagnosticLineTestsVixen.Editor.SceneView.Tests
  • SceneLinesVixen.Editor.SceneView
  • ScenePresenterVixen.Editor.App
  • SceneViewportVixen.Editor.SceneView
  • SelectionCageTestsVixen.Editor.SceneView.Tests
  • SplineOverlayVixen.Editor.SceneView
  • SplineOverlayTestsVixen.Editor.SceneView.Tests
  • TerrainCursorSeamTestsVixen.Editor.Terrain.Tests
  • TerrainCursorTestsVixen.Editor.Terrain.Tests
  • ViewportStateTestsVixen.Editor.SceneView.Tests
  • WaterPresenterVixen.Editor.App
  • WaterProfileTestsVixen.Editor.Water.Tests