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

Method New

Plugins/NativeXr/Source/NativeXr.cpp:975–978  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

973 }
974
975 static Napi::Object New(const Napi::CallbackInfo& info)
976 {
977 return info.Env().Global().Get(JS_CLASS_NAME).As<Napi::Function>().New({info[0]});
978 }
979
980 XRHitTestSource(const Napi::CallbackInfo& info)
981 : Napi::ObjectWrap<XRHitTestSource>{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