docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Interface ICameraOverrideStack

    This interface is specifically for Timeline. 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 — Terms of use
    Generated by DocFX
    on Friday, September 22, 2023