SceneViewCameraSettings Struct

Summary

[Editor-Only] A serializable copy of the UnityEditor.SceneView camera settings.
Assembly
Animancer.dll
Namespace
Animancer.Editor
Base Types
  • ValueType
graph BT Type-->Base0["ValueType"] Type["SceneViewCameraSettings"] class Type type-node

Syntax

[Serializable]
public struct SceneViewCameraSettings : ValueType

Attributes

Type Description
SerializableAttribute

Constructors

Name Summary
SceneViewCameraSettings(SceneView) Captures the current values of the `sceneView`.

Fields

Name Constant Value Summary
In2DMode
UnityEditor.SceneView.in2DMode.
Orthographic
UnityEditor.SceneView.orthographic.
Pivot
UnityEditor.SceneView.pivot.
Rotation
UnityEditor.SceneView.rotation.
Size
UnityEditor.SceneView.size.

Properties

Name Value Summary
IsInitialized bool
Have these settings been set to something other than default values?

Methods

Name Value Summary
Apply(SceneView) void
Sets the `sceneView` to use the stored values.