{!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} Struct AxisState.Recentering | Cinemachine | 2.6.0
docs.unity3d.com
"{0}" の検索結果

    目次を表示する/隠す

    Struct AxisState.Recentering

    Helper for automatic axis recentering

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    Namespace: Cinemachine
    Assembly: solution.dll
    Syntax
    [DocumentationSorting(DocumentationSortingAttribute.Level.UserRef)]
    [Serializable]
    public struct AxisState.Recentering

    Constructors

    Name Description
    Recentering(bool, float, float)

    Constructor with specific field values

    Fields

    Name Description
    m_RecenteringTime

    How long it takes to reach destination once recentering has started

    m_WaitTime

    If no input has been detected, the camera will wait this long in seconds before moving its heading to the default heading.

    m_enabled

    If checked, will enable automatic recentering of the axis. If FALSE, recenting is disabled.

    Methods

    Name Description
    CancelRecentering()

    Cancel any recenetering in progress.

    CopyStateFrom(ref Recentering)
    DoRecentering(ref AxisState, float, float)

    Bring the axis back to the centered state (only if enabled).

    RecenterNow()

    Skip the wait time and start recentering now (only if enabled).

    Validate()

    Call this from OnValidate()

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