docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class NestedBlendSource

    Blend result source for blending. This exposes a CinemachineBlend object as an ersatz virtual camera for the purposes of blending. This achieves the purpose of blending the result oif a blend.

    Inheritance
    object
    NestedBlendSource
    Implements
    ICinemachineCamera
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Unity.Cinemachine
    Assembly: solution.dll
    Syntax
    public class NestedBlendSource : ICinemachineCamera

    Constructors

    Name Description
    NestedBlendSource(CinemachineBlend)

    Contructor to wrap a CinemachineBlend object

    Properties

    Name Description
    Blend

    The CinemachineBlend object being wrapped.

    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)