docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface ICameraOverrideStack

    This interface provides a way to override camera selection logic. The cinemachine timeline track drives its target via this interface.

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

    Properties

    Name Description
    DefaultWorldUp

    Get the current definition of Up. May be different from Vector3.up.

    Methods

    Name Description
    ReleaseCameraOverride(int)

    See SetCameraOverride. Call ReleaseCameraOverride after all overriding is finished, to free the OverrideStack resources.

    SetCameraOverride(int, int, ICinemachineCamera, ICinemachineCamera, float, float)

    Override the current camera and current blend. This setting will trump any in-game logic that sets virtual camera priorities and Enabled states. This is the main API for the timeline.

    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)