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

Method setXRConfig

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

Source from the content-addressed store, hash-verified

439}
440
441void XRInterface::setXRConfig(xr::XRConfigKey key, xr::XRConfigValue value) {
442#if CC_USE_XR
443 CC_LOG_INFO("[XR] setConfigParameterI %d", key);
444 xr::XrEntry::getInstance()->setXRConfig(key, value);
445#else
446 CC_UNUSED_PARAM(key);
447 CC_UNUSED_PARAM(value);
448#endif
449}
450
451uint32_t XRInterface::getRuntimeVersion() {
452#if CC_USE_XR

Calls

no outgoing calls

Tested by

no test coverage detected