Table of Contents

Class LocationConverter

名前空間
EasyAR.Mega.Scene
アセンブリ
EasyAR.Mega.Scene.dll

GPSデータとUnity変換のコンバーター。座標系がMega Blockと揃っている場合にのみ使用できます。

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