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

Method NativeEngine

Plugins/NativeEngine/Source/NativeEngine.cpp:585–588  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

583 }
584
585 NativeEngine::NativeEngine(const Napi::CallbackInfo& info)
586 : NativeEngine(info, Plugins::Internal::NativeWindow::GetFromJavaScript(info.Env()))
587 {
588 }
589
590 NativeEngine::NativeEngine(const Napi::CallbackInfo& info, Plugins::Internal::NativeWindow& nativeWindow)
591 : Napi::ObjectWrap<NativeEngine>{info}

Callers

nothing calls this directly

Calls 6

UpdateSizeMethod · 0.95
UpdateSizeFunction · 0.85
AddOnResizeCallbackMethod · 0.80
GetWidthMethod · 0.80
GetHeightMethod · 0.80
EnvMethod · 0.45

Tested by

no test coverage detected