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

    目次を表示する/隠す

    Class UnityVectorExtensions

    Extensions to the Vector3 class, used by Cinemachine

    Inheritance
    object
    UnityVectorExtensions
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Cinemachine.Utility
    Assembly: solution.dll
    Syntax
    public static class UnityVectorExtensions

    Fields

    Name Description
    Epsilon

    A useful Epsilon

    Methods

    Name Description
    Abs(Vector3)

    Component-wise absolute value

    AlmostZero(Vector3)

    Is the vector within Epsilon of zero length?

    Angle(Vector3, Vector3)

    Much more stable for small angles than Unity's native implementation

    ClosestPointOnSegment(Vector2, Vector2, Vector2)

    Get the closest point on a line segment.

    ClosestPointOnSegment(Vector3, Vector3, Vector3)

    Get the closest point on a line segment.

    ProjectOntoPlane(Vector3, Vector3)

    Returns a non-normalized projection of the supplied vector onto a plane as described by its normal

    SafeFromToRotation(Vector3, Vector3, Vector3)

    Much more stable for small angles than Unity's native implementation

    SignedAngle(Vector3, Vector3, Vector3)

    Much more stable for small angles than Unity's native implementation

    SlerpWithReferenceUp(Vector3, Vector3, float, Vector3)

    This is a slerp that mimics a camera operator's movement in that it chooses a path that avoids the lower hemisphere, as defined by the up param

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