{!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.3.5-preview.3
docs.unity3d.com
"{0}"의 검색 결과

    목차 표시/숨기기

    Class UnityVectorExtensions

    Extensions to the Vector3 class, used by Cinemachine

    상속
    object
    UnityVectorExtensions
    상속된 멤버
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    네임스페이스: Cinemachine.Utility
    어셈블리: solution.dll
    구문
    public static class UnityVectorExtensions

    필드

    이름 설명
    Epsilon

    A useful Epsilon

    메서드

    이름 설명
    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

    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)