godot/modules/openxr/config.py
2022-12-02 11:40:24 +01:00

27 lines
526 B
Python

def can_build(env, platform):
if platform in ("linuxbsd", "windows", "android"):
return env["openxr"] and not env["disable_3d"]
else:
# not supported on these platforms
return False
def configure(env):
pass
def get_doc_classes():
return [
"OpenXRInterface",
"OpenXRAction",
"OpenXRActionSet",
"OpenXRActionMap",
"OpenXRInteractionProfile",
"OpenXRIPBinding",
"OpenXRHand",
]
def get_doc_path():
return "doc_classes"