Vixen
dd8b0a81
csharp
public sealed class BlockoutUvView

docs/plan/42 § D13's UV panel, as the half that draws.

Read the guide page for this →

Remarks

The panel is BlockoutUvView.vxml; this file is the accessibility modifier and the three records the markup's snapshot is made of. The emitter's partial has no modifier, so a type another assembly holds needs a declaration that says public — the same arrangement GpuTimelineView takes.

⚠ It computes no metric. Every number it draws came out of BlockoutUvPanel, which was written as "the half that runs without a device" and enumerated the drawing as what it left out. A view that recomputed a stretch would be a second opinion about what a distorted island is, and the two would disagree the first time either changed.

Fields and properties (9)

  • protected override string TagName
  • public const int HeatSteps

    How many ramp buckets there are between flat and the bad threshold's double.

  • public const float AtlasSize

    How wide the atlas square is drawn, in layout pixels.

  • protected override bool AcceptsFocus

    Whether the focus can rest on this kind of control at all.

  • public UiElement Atlas

    The atlas rectangle every island is positioned inside.

  • public UiElement Messages

    Where the last run's sentences go.

  • public Func<EditMesh?>? Source

    Where the mesh to unwrap comes from, or .

  • public Action<BlockoutUvPanel>? Configure

    Run over the model just before a verb, to bring the dials up to date.

  • public BlockoutUvPanel? Model

    The model this draws, or .

Methods (6)

  • protected override void OnCreated()
  • protected override void OnRemoved()
  • public void Realise()

    Rebuilds the drawing from the model.

  • public void RunChart()

    Runs the charting stage over the current mesh.

  • public void RunFlatten()

    Runs the flattening stage, charting first if it has to.

  • public void RunPack()

    Runs the packing stage, flattening first if it has to.

Used by (2)

  • BlockoutModuleVixen.Editor.Blockout
  • BlockoutUvViewTestsVixen.Editor.Blockout.Tests