csharp
public readonly record struct ViewBookmarkWhere 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 NameWhat the bookmark is called.
public Vector3 PivotWhat the camera orbits.
public float DistanceHow far from it.
public float YawRotation about the world's up, in radians.
public float PitchRotation above the horizon, in radians.
public bool IsOrthographicWhether 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