Class LocationConverter
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)
パラメーター
tltotherlother
Position(Location, Location)
相対変位を求める。
public static Vector3 Position(this Location l, Location lother)
パラメーター
llother
PositionToLocation(Transform, Transform, Location?)
既知点に基づいて現在の点のGPSを取得する。
public static Location? PositionToLocation(Transform t, Transform tother, Location? lother)
パラメーター
ttotherlother
Translate(Location, Vector3, Vector3)
既知点のGPSに基づいて現在の点のGPSを求める。
public static Location Translate(this Location l, Vector3 from, Vector3 to)
パラメーター
lfromto