Vixen
02b45cc4
csharp
public sealed class ReferenceVolumeSet

The reference volumes a pane is showing, and where.

Read the guide page for this →

Remarks

⚠ A list on the pane rather than entities in the document, which is the point. See ReferenceVolumes: these exist to be looked at and then to go away, and anything that made them savable would make "did somebody leave a reference cube in the level" a question a build has to answer.

Fields and properties (2)

  • public IReadOnlyList<(ReferenceVolume Volume, Vector3 At)> Placed

    What is being shown, and where each one is.

  • public bool IsEmpty

    Whether there is anything to draw.

Methods (3)

  • public void Add(ReferenceVolume volume, Vector3 at)

    Puts one in the scene.

  • public bool RemoveLast()

    Takes the last one back out.

  • public void Clear()

    Takes them all out.

Used by (5)

  • EditorApplicationVixen.Editor.App
  • PrecisionTestsVixen.Editor.SceneView.Tests
  • SceneLinesVixen.Editor.SceneView
  • SceneViewportVixen.Editor.SceneView
  • WorkPlaneCommandTestsVixen.Editor.App.Tests