Table of Contents

Class LocationConverter

네임스페이스
EasyAR.Mega.Scene
어셈블리
EasyAR.Mega.Scene.dll

GPS 데이터와 Unity 변환의 변환기. 좌표계가 메가 블록과 정렬된 경우에만 사용 가능합니다.

public static class LocationConverter
상속
LocationConverter

메서드

LocationToPosition(Transform, Location?, Transform, Location?)

GPS 수치 및 알려진 지점으로 현재 지점의 이동을 조정합니다.

public static void LocationToPosition(Transform t, Location? l, Transform tother, Location? lother)

매개 변수

t
l
tother
lother

Position(Location, Location)

상대 변위를 구하다.

public static Vector3 Position(this Location l, Location lother)

매개 변수

l
lother

PositionToLocation(Transform, Transform, Location?)

기준점을 통해 현재 위치의 GPS를 획득합니다.

public static Location? PositionToLocation(Transform t, Transform tother, Location? lother)

매개 변수

t
tother
lother

Translate(Location, Vector3, Vector3)

알려진 지점의 GPS를 기반으로 현재 지점의 GPS를 구합니다.

public static Location Translate(this Location l, Vector3 from, Vector3 to)

매개 변수

l
from
to