Vixen
02b45cc4
csharp
public sealed class ViewportGizmo

The little axis cross in the corner.

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

Remarks

Drawn rather than built, because it is three lines whose ends are a matrix multiply — and because it has to be redrawn every frame the camera moves, which as elements would be six inline styles a frame for a picture twenty pixels across.

Fields and properties (2)

  • protected override string TagName

    The element name this type answers to when a caller does not choose one.

  • public Viewport? Owner

    The viewport it belongs to.

Methods (1)

  • protected override void OnDraw(DrawContext context)

    Draws whatever this element is, beyond what a stylesheet can describe.

Used by (1)

  • ViewportVixen.Ui.Controls.Advanced