| 1061 | |
| 1062 | private: |
| 1063 | Napi::Value GetPose(const Napi::CallbackInfo& info) |
| 1064 | { |
| 1065 | // TODO: Once multiple reference views are supported, we need to convert the values into the passed in reference space. |
| 1066 | Napi::Object napiPose = XRPose::New(info); |
| 1067 | XRPose* pose = XRPose::Unwrap(napiPose); |
| 1068 | pose->Update(info, m_hitPose); |
| 1069 | |
| 1070 | return napiPose; |
| 1071 | } |
| 1072 | |
| 1073 | // The hit pose in default ARCore space. |
| 1074 | xr::Pose m_hitPose; |