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);
Пример #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);
Пример #6
0
 private static extern Vector3[] Internal_GetBoundaryAsFixedArray(
     uint instanceId,
     TrackableId id);
Пример #7
0
 private extern Vector3[] Internal_GetBoundaryAsFixedArray(TrackableId planeId);
Пример #8
0
 private extern bool Internal_GetBoundaryAsList(TrackableId planeId, List <Vector3> boundaryOut);
Пример #9
0
 public extern bool TryGetPlane(TrackableId planeId, out BoundedPlane plane);
Пример #10
0
 public extern void GenerateMeshAsync(
     TrackableId meshId,
     Mesh mesh,
     MeshCollider meshCollider,
     MeshVertexAttributes attributes,
     Action <MeshGenerationResult> onMeshGenerationComplete);