Added a setNativeTime method to the ARkitWrapper that receives the current ARFrame timestamp. It is meant to be called 10 times from the iOS side.

This commit is contained in:
Roberto Garrido 2018-04-16 16:56:36 +02:00
Родитель c4010a301c
Коммит 52ca0ab424
1 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -147,6 +147,10 @@ export default class ARKitWrapper extends EventHandlerBase {
this._onComputerVisionData(detail);
}
window['setNativeTime'] = (detail) => {
console.log(detail.nativeTime)
}
/**
* The result of a raycast into the AR world encoded as a transform matrix.
* This structure has a single property - modelMatrix - which encodes the