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

Method getXRConfig

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

Source from the content-addressed store, hash-verified

429}
430
431xr::XRConfigValue XRInterface::getXRConfig(xr::XRConfigKey key) {
432#if CC_USE_XR
433 return xr::XrEntry::getInstance()->getXRConfig(key);
434#else
435 CC_UNUSED_PARAM(key);
436 cc::xr::XRConfigValue configValue;
437 return configValue;
438#endif
439}
440
441void XRInterface::setXRConfig(xr::XRConfigKey key, xr::XRConfigValue value) {
442#if CC_USE_XR

Callers 13

asyncLoadAssetsImageMethod · 0.95
updateMethod · 0.80
doInitMethod · 0.80
doInitMethod · 0.80
doXRFrameMoveMethod · 0.80
initMethod · 0.80
loopMethod · 0.80
getVendorMethod · 0.80
getRuntimeVersionMethod · 0.80
getXRSwapchainFormatMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected