class ARLocationManager
(Niantic.Lightship.AR.LocationAR.ARLocationManager)
概要
ARLocationManagerは、ARLocationsを追跡するために使われる。 ARLocationsは、デジタルコンテンツと現実世界を結びつけます。 ARLocationのトラッキングを開始し、携帯電話のカメラを物理的な場所に向けると、ARLocationにチャイルドしたデジタルコンテンツが物理的な世界に現れます。
	class ARLocationManager:Niantic.Lightship.AR.PersistentAnchors.ARPersistentAnchorManager {
	public:
		// fields
	
		 ARLocation[] ARLocations => GetComponentsInChildren<ARLocation>(true);
		 bool AutoTrack => _autoTrack;
		// properties
	
		float InterpolationTimeSeconds;
		bool ContinuousLocalizationEnabled;
		bool InterpolationEnabled;
		int MaxLocationTrackingCount;
		// イベント
	
		event locationTrackingStateChanged();
		// メソッド
	
		void SetARLocations(params ARLocation[] arLocations);
		void StartTracking();
		void StopTracking();
		void TryUpdateTracking();
	protected:
		//
	
		override void OnEnable();
		override void OnBeforeStart();
		virtual override void Start();
		override void OnDisable();
};
Inherited Members
public:
	// イベント
	event arPersistentAnchorStateChanged();
	// メソッド
	bool GetVpsSessionId(out string vpsSessionId);
	bool TryTrackAnchor(
		ARPersistentAnchorPayload payload,
		out ARPersistentAnchor arPersistentAnchor
	);
	void DestroyAnchor(ARPersistentAnchor arPersistentAnchor);
保護されています:
	// fields
	 bool InterpolateAnchors = false;
	 override string gameObjectName => "Persistent Anchor";
	// properties
	bool ContinuousLocalizationEnabled;
	bool TemporalFusionEnabled;
	bool TransformUpdateSmoothingEnabled;
	float CloudLocalizerInitialRequestsPerSecond;
	float CloudLocalizerContinuousRequestsPerSecond;
	uint CloudLocalizationTemporalFusionWindowSize;
	bool DiagnosticsEnabled;
	// methods
	override GameObject GetPrefab();
	override void OnEnable();
	override void OnBeforeStart();
	virtual void Start();
	override void OnDisable();
	override void OnDestroy();
	override void OnTrackablesChanged(
		リスト<ARPersistentAnchor> 追加,
		リスト<ARPersistentAnchor> 更新,
		リスト<ARPersistentAnchor> 削除
	);
詳細資料
ARLocationManagerは、ARLocationsを追跡するために使われる。 ARLocationsは、デジタルコンテンツと現実世界を結びつけます。 ARLocationのトラッキングを開始し、携帯電話のカメラを物理的な場所に向けると、ARLocationにチャイルドしたデジタルコンテンツが物理的な世界に現れます。
Fields
ARLocations
ARLocation[] ARLocations => GetComponentsInChildren<ARLocation>(true)
ARLocationManagerにチャイルドしているすべてのARLocationsを取得します。
AutoTrack
bool AutoTrack => _autoTrack
選択されたARLocationのトラッキングを自動的に開始するかどうか。 Trueの場合は、現在有効になっている位置情報が起動時に自動的にトラッキングされます。
プロパティ
InterpolationTimeSeconds
float InterpolationTimeSeconds
アンカー補間が行われる秒数。 タイムが速いほど、動きはより顕著になる。
.. 注::
これは実験的な機能であり、予告なく変更または廃止されることがあります。
ContinuousLocalizationEnabled
bool ContinuousLocalizationEnabled
連続ローカライズを有効にするか無効 にするか
.. 注::
これは実験的な機能であり、予告なく変更または廃止されることがあります。
InterpolationEnabled
bool InterpolationEnabled