docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class SceneViewCameraSettings

    Used to store and apply scene view camera settings

    Inheritance
    object
    SceneViewCameraSettings
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Tutorials.Core.Editor
    Assembly: Unity.Tutorials.Core.Editor.dll
    Syntax
    [Serializable]
    public class SceneViewCameraSettings

    Properties

    CameraMode

    The Scene View camera mode

    Declaration
    public SceneViewCameraMode CameraMode { get; }
    Property Value
    Type Description
    SceneViewCameraMode

    Enabled

    Are these camera settings going to be used?

    Declaration
    public bool Enabled { get; }
    Property Value
    Type Description
    bool

    FocusMode

    Determines how the camera position is applied when loaded

    Declaration
    public SceneViewFocusMode FocusMode { get; }
    Property Value
    Type Description
    SceneViewFocusMode

    FrameObject

    The object that can be framed by the camera. Applicable if SceneViewFocusMode.FrameObject used as FocusMode.

    Declaration
    public SceneObjectReference FrameObject { get; }
    Property Value
    Type Description
    SceneObjectReference

    Orthographic

    Is the camera ortographic?

    Declaration
    public bool Orthographic { get; }
    Property Value
    Type Description
    bool

    Pivot

    The point the camera will look at

    Declaration
    public Vector3 Pivot { get; }
    Property Value
    Type Description
    Vector3

    Rotation

    The rotation of the camera

    Declaration
    public Quaternion Rotation { get; }
    Property Value
    Type Description
    Quaternion

    Size

    Ortographic size of the camera

    Declaration
    public float Size { get; }
    Property Value
    Type Description
    float

    Methods

    Apply()

    Applies the saved camera settings to the current scene camera

    Declaration
    public void Apply()
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)