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

Method New

Plugins/NativeXr/Source/NativeXr.cpp:791–794  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

789 }
790
791 static Napi::Object New(const Napi::CallbackInfo& info)
792 {
793 return info.Env().Global().Get(JS_CLASS_NAME).As<Napi::Function>().New({info[0]});
794 }
795
796 XRRay(const Napi::CallbackInfo& info)
797 : Napi::ObjectWrap<XRRay>{info}

Callers 15

CreateInstanceMethod · 0.45
InitializeMethod · 0.45
InitializeMethod · 0.45
NewMethod · 0.45
NewMethod · 0.45
NewMethod · 0.45
NewMethod · 0.45
NewMethod · 0.45
NewMethod · 0.45
NewMethod · 0.45
NewMethod · 0.45
NewMethod · 0.45

Calls 3

GlobalMethod · 0.80
GetMethod · 0.45
EnvMethod · 0.45

Tested by

no test coverage detected