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
|
@ -146,6 +146,10 @@ export default class ARKitWrapper extends EventHandlerBase {
|
|||
window['onComputerVisionData'] = (detail) => {
|
||||
this._onComputerVisionData(detail);
|
||||
}
|
||||
|
||||
window['setNativeTime'] = (detail) => {
|
||||
console.log(detail.nativeTime)
|
||||
}
|
||||
|
||||
/**
|
||||
* The result of a raycast into the AR world encoded as a transform matrix.
|
||||
|
|
Загрузка…
Ссылка в новой задаче