docs.unity3d.com
    Show / Hide Table of Contents

    Class SceneViewCameraSettings

    Used to store and apply scene view camera settings

    Inheritance
    Object
    SceneViewCameraSettings
    Namespace: Unity.InteractiveTutorials
    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
    Boolean

    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

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

    orthographic

    Is the camera ortographic?

    Declaration
    public bool orthographic { get; }
    Property Value
    Type Description
    Boolean

    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
    Single

    Methods

    Apply()

    Applies the saved camera settings to the current scene camera

    Declaration
    public void Apply()
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023