MCPcopy Create free account
hub / github.com/cocos/cocos-engine / getVendor

Method getVendor

native/cocos/platform/java/modules/XRInterface.cpp:423–429  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

421}
422
423xr::XRVendor XRInterface::getVendor() {
424#if CC_USE_XR
425 return static_cast<xr::XRVendor>(xr::XrEntry::getInstance()->getXRConfig(cc::xr::XRConfigKey::DEVICE_VENDOR).getInt());
426#else
427 return xr::XRVendor::MONADO;
428#endif
429}
430
431xr::XRConfigValue XRInterface::getXRConfig(xr::XRConfigKey key) {
432#if CC_USE_XR

Callers 3

doInitMethod · 0.80
doInitMethod · 0.80
onClientConnectedMethod · 0.80

Calls 2

getXRConfigMethod · 0.80
getIntMethod · 0.45

Tested by

no test coverage detected