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

    목차 표시/숨기기

    Method ClosestPointOnSegment

    ClosestPointOnSegment(Vector3, Vector3, Vector3)

    Get the closest point on a line segment.

    선언
    public static float ClosestPointOnSegment(this Vector3 p, Vector3 s0, Vector3 s1)
    파라미터
    타입 이름 설명
    Vector3 p

    A point in space

    Vector3 s0

    Start of line segment

    Vector3 s1

    End of line segment

    반환
    타입 설명
    float

    The interpolation parameter representing the point on the segment, with 0==s0, and 1==s1

    ClosestPointOnSegment(Vector2, Vector2, Vector2)

    Get the closest point on a line segment.

    선언
    public static float ClosestPointOnSegment(this Vector2 p, Vector2 s0, Vector2 s1)
    파라미터
    타입 이름 설명
    Vector2 p

    A point in space

    Vector2 s0

    Start of line segment

    Vector2 s1

    End of line segment

    반환
    타입 설명
    float

    The interpolation parameter representing the point on the segment, with 0==s0, and 1==s1

    문서 개요
    맨 위로
    Copyright © 2023 Unity Technologies — 상표 및 이용약관
    • 법률정보
    • 개인정보처리방침
    • 쿠키
    • 내 개인정보 판매 금지
    • Your Privacy Choices (Cookie Settings)