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

    目次を表示する/隠す

    Method DetachedLookAtTargetDamp

    DetachedLookAtTargetDamp(float, float, float)

    Get a damped version of a quantity. This is the portion of the quantity that will take effect over the given time. This method takes the target attachment into account. For general damping without consideration of target attachment, use Damper.Damp()

    Declaration
    public float DetachedLookAtTargetDamp(float initial, float dampTime, float deltaTime)
    Parameters
    Type Name Description
    float initial

    The amount that will be damped

    float dampTime

    The rate of damping. This is the time it would take to reduce the original amount to a negligible percentage

    float deltaTime

    The time over which to damp

    Returns
    Type Description
    float

    The damped amount. This will be the original amount scaled by a value between 0 and 1.

    DetachedLookAtTargetDamp(Vector3, Vector3, float)

    Get a damped version of a quantity. This is the portion of the quantity that will take effect over the given time. This method takes the target attachment into account. For general damping without consideration of target attachment, use Damper.Damp()

    Declaration
    public Vector3 DetachedLookAtTargetDamp(Vector3 initial, Vector3 dampTime, float deltaTime)
    Parameters
    Type Name Description
    Vector3 initial

    The amount that will be damped

    Vector3 dampTime

    The rate of damping. This is the time it would take to reduce the original amount to a negligible percentage

    float deltaTime

    The time over which to damp

    Returns
    Type Description
    Vector3

    The damped amount. This will be the original amount scaled by a value between 0 and 1.

    DetachedLookAtTargetDamp(Vector3, float, float)

    Get a damped version of a quantity. This is the portion of the quantity that will take effect over the given time. This method takes the target attachment into account. For general damping without consideration of target attachment, use Damper.Damp()

    Declaration
    public Vector3 DetachedLookAtTargetDamp(Vector3 initial, float dampTime, float deltaTime)
    Parameters
    Type Name Description
    Vector3 initial

    The amount that will be damped

    float dampTime

    The rate of damping. This is the time it would take to reduce the original amount to a negligible percentage

    float deltaTime

    The time over which to damp

    Returns
    Type Description
    Vector3

    The damped amount. This will be the original amount scaled by a value between 0 and 1.

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