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

Method New

Plugins/NativeXr/Source/NativeXr.cpp:922–925  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

920 }
921
922 static Napi::Object New(const Napi::CallbackInfo& info)
923 {
924 return info.Env().Global().Get(JS_CLASS_NAME).As<Napi::Function>().New({info[0]});
925 }
926
927 XRReferenceSpace(const Napi::CallbackInfo& info)
928 : Napi::ObjectWrap<XRReferenceSpace>{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