public extern bool TryGetReferencePoint(TrackableId referencePointId, out ReferencePoint referencePoint);
 public bool TryAddReferencePoint(Pose pose, out TrackableId referencePointId)
 {
     return(TryAddReferencePoint(pose.position, pose.rotation, out referencePointId));
 }
 public extern bool TryRemoveReferencePoint(TrackableId referencePointId);
Exemplo n.º 4
0
 private static extern bool Internal_GetBoundaryAsList(
     uint instanceId,
     TrackableId id,
     List <Vector3> boundaryOut);
 public extern bool TryAddReferencePoint(Vector3 position, Quaternion rotation, out TrackableId referencePointId);
Exemplo n.º 6
0
 private static extern Vector3[] Internal_GetBoundaryAsFixedArray(
     uint instanceId,
     TrackableId id);
Exemplo n.º 7
0
 private extern Vector3[] Internal_GetBoundaryAsFixedArray(TrackableId planeId);
Exemplo n.º 8
0
 private extern bool Internal_GetBoundaryAsList(TrackableId planeId, List <Vector3> boundaryOut);
Exemplo n.º 9
0
 public extern bool TryGetPlane(TrackableId planeId, out BoundedPlane plane);
Exemplo n.º 10
0
 public extern void GenerateMeshAsync(
     TrackableId meshId,
     Mesh mesh,
     MeshCollider meshCollider,
     MeshVertexAttributes attributes,
     Action <MeshGenerationResult> onMeshGenerationComplete);