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

Method New

Plugins/NativeXr/Source/NativeXr.cpp:463–466  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

461 }
462
463 static Napi::Object New(const Napi::CallbackInfo& info)
464 {
465 return info.Env().Global().Get(JS_CLASS_NAME).As<Napi::Function>().New({});
466 }
467
468 XRWebGLLayer(const Napi::CallbackInfo& info)
469 : Napi::ObjectWrap<XRWebGLLayer>{info}

Callers

nothing calls this directly

Calls 4

GlobalMethod · 0.80
NewMethod · 0.45
GetMethod · 0.45
EnvMethod · 0.45

Tested by

no test coverage detected