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:
Родитель
c4010a301c
Коммит
52ca0ab424
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче