Vixen
02b45cc4
csharp
public readonly record struct ViewBookmark

Where a viewport is looking, saved so it can be gone back to.

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

Fields and properties (6)

  • public string Name

    What the bookmark is called.

  • public Vector3 Pivot

    What the camera orbits.

  • public float Distance

    How far from it.

  • public float Yaw

    Rotation about the world's up, in radians.

  • public float Pitch

    Rotation above the horizon, in radians.

  • public bool IsOrthographic

    Whether the projection is orthographic.

Methods (1)

  • public ViewBookmark(string Name, Vector3 Pivot, float Distance, float Yaw, float Pitch, bool IsOrthographic)

    Where a viewport is looking, saved so it can be gone back to.

Used by (4)

  • CameraTestsVixen.Editor.SceneView.Tests
  • EditorApplicationVixen.Editor.App
  • EditorCameraVixen.Editor.SceneView
  • SceneViewportVixen.Editor.SceneView