godot/modules/openxr/config.py
2024-12-12 09:46:19 +11:00

45 lines
1.2 KiB
Python

def can_build(env, platform):
if platform in ("linuxbsd", "windows", "android", "macos"):
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",
"OpenXRAPIExtension",
"OpenXRExtensionWrapperExtension",
"OpenXRInteractionProfile",
"OpenXRInteractionProfileMetadata",
"OpenXRIPBinding",
"OpenXRHand",
"OpenXRVisibilityMask",
"OpenXRCompositionLayer",
"OpenXRCompositionLayerQuad",
"OpenXRCompositionLayerCylinder",
"OpenXRCompositionLayerEquirect",
"OpenXRBindingModifier",
"OpenXRIPBindingModifier",
"OpenXRActionBindingModifier",
"OpenXRAnalogThresholdModifier",
"OpenXRDpadBindingModifier",
"OpenXRInteractionProfileEditorBase",
"OpenXRInteractionProfileEditor",
"OpenXRBindingModifierEditor",
"OpenXRHapticBase",
"OpenXRHapticVibration",
]
def get_doc_path():
return "doc_classes"