{!See https://docs.google.com/document/d/1takg_GmIBBKKTj-GHZCwzxohpQz7Bhekivkk72kYMtE/edit for reference implementation of OneTrust, dataLayer and GTM} {!OneTrust Cookies Consent} {!OneTrust Cookies Consent end} {!dataLayer initialization push} {!dataLayer initialization push end} {!Google Tag Manager} {!Google Tag Manager end} Class CinemachineCore | Cinemachine | 2.6.0
docs.unity3d.com
"{0}" の検索結果

    目次を表示する/隠す

    Class CinemachineCore

    A singleton that manages complete lists of CinemachineBrain and, Cinemachine Virtual Cameras, and the priority queue. Provides services to keeping track of whether Cinemachine Virtual Cameras have been updated each frame.

    Inheritance
    object
    CinemachineCore
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    Namespace: Cinemachine
    Assembly: solution.dll
    Syntax
    public sealed class CinemachineCore

    Fields

    Name Description
    CameraCutEvent

    This event will fire after a brain updates its Camera

    CameraUpdatedEvent

    This event will fire after a brain updates its Camera

    GetBlendOverride

    Delegate for overriding a blend that is about to be applied to a transition. A handler can either return the default blend, or a new blend specific to current conditions.

    GetInputAxis

    Delegate for overriding Unity's default input system. If you set this, then your delegate will be called instead of System.Input.GetAxis(axisName) whenever in-game user input is needed.

    UniformDeltaTimeOverride

    If non-negative, cinemachine will update with this uniform delta time. Usage is for timelines in manual update mode.

    kStreamingVersion

    Data version string. Used to upgrade from legacy projects

    kVersionString

    Human-readable Cinemachine Version

    sShowHiddenObjects

    If true, show hidden Cinemachine objects, to make manual script mapping possible.

    Properties

    Name Description
    BrainCount

    Access the array of active CinemachineBrains in the scene

    Instance

    Get the singleton instance

    VirtualCameraCount

    List of all active Cinemachine Virtual Cameras for all brains. This list is kept sorted by priority.

    Methods

    Name Description
    FindPotentialTargetBrain(CinemachineVirtualCameraBase)

    Try to find a CinemachineBrain to associate with a Cinemachine Virtual Camera. The first CinemachineBrain in which this Cinemachine Virtual Camera is live will be used. If none, then the first active CinemachineBrain with the correct layer filter will be used. Brains with OutputCamera == null will not be returned. Final result may be null.

    GenerateCameraActivationEvent(ICinemachineCamera, ICinemachineCamera)

    Signal that the virtual has been activated. If the camera is live, then all CinemachineBrains that are showing it will send an activation event.

    GenerateCameraCutEvent(ICinemachineCamera)

    Signal that the virtual camera's content is discontinuous WRT the previous frame. If the camera is live, then all CinemachineBrains that are showing it will send a cut event.

    GetActiveBrain(int)

    Access the array of active CinemachineBrains in the scene without gebnerating garbage

    GetVirtualCamera(int)

    Access the array of active ICinemachineCamera in the scene without gebnerating garbage

    IsLive(ICinemachineCamera)

    Is this virtual camera currently actively controlling any Camera?

    概要
    トップに戻る
    Copyright © 2023 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)