docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface ICinemachineCamera

    An abstract representation of a virtual camera which lives within the Unity scene

    Namespace: Unity.Cinemachine
    Assembly: solution.dll
    Syntax
    public interface ICinemachineCamera

    Properties

    Name Description
    Description

    Gets a brief debug description of this camera, for use when displaying debug info

    IsValid

    Will return false if this references a deleted object

    Name

    Gets the name of this virtual camera. For use when deciding how to blend to or from this camera

    ParentCamera

    Returns the ICinemachineMixer within which this Camera is nested, or null.

    State

    Camera state at the current time.

    Methods

    Name Description
    OnCameraActivated(ActivationEventParams)

    Notification that this camera is being activated. This is sent to the newly activated camera.
    Multiple camera may be active simultaneously for a while, if blending. evt.IncomingCamera will always be "this".

    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.

    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)