SessionEvent Enum

Description

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


Constant

Value

Description

SessionStateChange

sessionStateChange

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

MegaLocalizationResult

megaLocalizationResult

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

PostSessionUpdate

postSessionUpdate

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