Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
using UnityEngine;
public interface WorldAnalysisARFoundationModule
{
/// <summary>
/// Informations about a trackable
/// </summary>
public class TrackableInfo
{
public string name;
public int timeStamp;
public ETSI.ARF.OpenAPI.WorldAnalysis.PoseEstimationState state;
public double confidence;
public Vector3 position;
public Quaternion rotation;
public ETSI.ARF.OpenAPI.WorldAnalysis.TrackableType trackableType;
}
/// <summary>
/// Initialize tracking module
/// </summary>
public void Initialize();
/// <summary>
/// Add to the list of trackable that the module need to tracked
/// </summary>
/// <param name="trackable">Trackable with its parameters</param>
/// <returns>supported or not</returns>
public bool AddTrackable(ETSI.ARF.OpenAPI.WorldStorage.Trackable trackable);
/// <summary>
///
/// </summary>
/// <param name="name"></param>
public TrackableInfo GetPoseTrackable(string name);
}