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

Method New

Plugins/NativeXr/Source/NativeXr.cpp:582–585  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

580 }
581
582 static Napi::Object New(const Napi::CallbackInfo& info)
583 {
584 return info.Env().Global().Get(JS_CLASS_NAME).As<Napi::Function>().New({});
585 }
586
587 XRView(const Napi::CallbackInfo& info)
588 : Napi::ObjectWrap<XRView>{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