Table of Contents

Enum SessionEvent

命名空间
easyar

SessionEvent Session由XRFrame Element代理下发的事件。 非立即触发的事件将在当前帧组件生命周期驱动前派发,详见: <https://developers.weixin.qq.com/miniprogram/dev/component/xr-frame/core/event.html>

字段

MegaLocalizationResult = "megaLocalizationResult"

Mega定位结果返回时 立即触发,参数类型为 MegaLocalizationResult

PostSessionUpdate = "postSessionUpdate"

Session更新完成事件立即触发,无参数 该事件触发时,该帧内所有受EasyAR控制的transform变化已经完成。

SessionStateChange = "sessionStateChange"

Session状态改变时 立即触发,参数类型为 SessionState