Class CameraState | Core RP Library | 6.9.2
docs.unity3d.com
    Show / Hide Table of Contents

    Class CameraState

    Inheritance
    Object
    CameraState
    Namespace: UnityEditor.Rendering.Experimental.LookDev
    Syntax
    [Serializable]
    public class CameraState : ICameraUpdater

    Properties

    distanceFromPivot

    Declaration
    public float distanceFromPivot { get; }
    Property Value
    Type Description
    Single

    farClip

    Declaration
    public float farClip { get; }
    Property Value
    Type Description
    Single

    fieldOfView

    Declaration
    public float fieldOfView { get; }
    Property Value
    Type Description
    Single

    forward

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

    nearClip

    Declaration
    public float nearClip { get; }
    Property Value
    Type Description
    Single

    pivot

    Declaration
    public Vector3 pivot { get; set; }
    Property Value
    Type Description
    Vector3

    position

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

    right

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

    rotation

    Declaration
    public Quaternion rotation { get; set; }
    Property Value
    Type Description
    Quaternion

    up

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

    viewSize

    Declaration
    public float viewSize { get; set; }
    Property Value
    Type Description
    Single

    Methods

    Reset()

    Declaration
    public void Reset()

    UpdateCamera(Camera)

    Declaration
    public void UpdateCamera(Camera camera)
    Parameters
    Type Name Description
    Camera camera
    Implements
    ICameraUpdater.UpdateCamera(Camera)
    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