docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method UpdateCameraState

    UpdateCameraState(Vector3, float)

    Update the camera's state. The implementation must guarantee against multiple calls per frame, and should use CinemachineCore.UpdateVirtualCamera(ICinemachineCamera, Vector3, float), which has protection against multiple calls per frame.

    Declaration
    public void UpdateCameraState(Vector3 up, float deltaTime)
    Parameters
    Type Name Description
    Vector3 up
    float deltaTime

    Delta time for time-based effects (ignore if less than 0)

    Implements
    ICinemachineCamera.UpdateCameraState(Vector3, float)
    In This Article
    Back to top
    Copyright © 2023 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)