MCPcopy Create free account
hub / github.com/BabylonJS/BabylonNative / GetPose

Method GetPose

Plugins/NativeXr/Source/NativeXr.cpp:1143–1149  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1141 }
1142
1143 Napi::Value GetPose(const Napi::CallbackInfo& info)
1144 {
1145 const auto& space = *info[0].As<Napi::External<xr::System::Session::Frame::Space>>().Data();
1146
1147 m_transform.Update(space, false);
1148 return m_jsPose.Value();
1149 }
1150
1151 Napi::Value GetHitTestResults(const Napi::CallbackInfo& info)
1152 {

Callers

nothing calls this directly

Calls 3

ValueMethod · 0.80
DataMethod · 0.45
UpdateMethod · 0.45

Tested by

no test coverage detected