godot/modules/openxr/config.py

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

34 lines
808 B
Python
Raw Normal View History

2021-12-14 09:44:12 +08:00
def can_build(env, platform):
2023-07-18 22:02:47 +08:00
if platform in ("linuxbsd", "windows", "android", "macos"):
return env["openxr"] and not env["disable_3d"]
2021-12-14 09:44:12 +08:00
else:
# not supported on these platforms
return False
def configure(env):
pass
def get_doc_classes():
return [
"OpenXRInterface",
"OpenXRAction",
"OpenXRActionSet",
"OpenXRActionMap",
"OpenXRAPIExtension",
"OpenXRExtensionWrapperExtension",
2021-12-14 09:44:12 +08:00
"OpenXRInteractionProfile",
"OpenXRInteractionProfileMetadata",
2021-12-14 09:44:12 +08:00
"OpenXRIPBinding",
2022-04-17 10:58:09 +08:00
"OpenXRHand",
"OpenXRCompositionLayer",
"OpenXRCompositionLayerQuad",
"OpenXRCompositionLayerCylinder",
"OpenXRCompositionLayerEquirect",
2021-12-14 09:44:12 +08:00
]
def get_doc_path():
return "doc_classes"