公共静态接口 BaseArFragment.OnTapArPlaneListener
点按 ARCore 平面时调用。
公共方法
抽象 无效 |
公共方法
public abstract void onTapPlane (HitResulthitResult, Plane 平面, MotionEvent motionEvent)
在点按 ARCore 平面时调用。仅当未点按 Node
时,系统才会调用回调。
参数
命中结果 | 点按平面时发生的 ARCore 命中结果 |
---|---|
坐飞机 | 有人点按了 ARCore 飞机 |
motionEvent [动作事件] | 触发点按的动作事件 |