class ARLocationManager
(Niantic.Lightship.AR.LocationAR.ARLocationManager)
概要
ARLocationManagerは、ARLocationsを追跡するために使われます。 ARLocationsは、デジタルコンテンツと現実世界を結びつけます。 ARLocationのトラッキングを開始し、携帯電話のカメラを物理的な場所に向けると、ARLocationにチャイルドしたデジタルコンテンツが物理的な世界に現れます。
class ARLocationManager: Niantic.Lightship.AR.PersistentAnchors.ARPersistentAnchorManager {
public:
// フィールド
ARLocation[] ARLocations => GetComponentsInChildren<ARLocation>(true);
bool AutoTrack => _autoTrack;
// プロパティ
int MaxLocationTrackingCount;
// イベント
event locationTrackingStateChanged();
// メソッド
void SetARLocations(params ARLocation[] arLocations);
void StartTracking();
void StopTracking();
void TryUpdateTracking();
protected:
// メソッド
override void OnEnable();
virtual override void Start();
override void OnDisable();
};