mirror of
https://github.com/godotengine/godot
synced 2024-11-02 11:59:10 +00:00
0f2b804059
Co-authored-by: Bastiaan Olij <mux213@gmail.com>
33 lines
808 B
Python
33 lines
808 B
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",
|
|
"OpenXRCompositionLayer",
|
|
"OpenXRCompositionLayerQuad",
|
|
"OpenXRCompositionLayerCylinder",
|
|
"OpenXRCompositionLayerEquirect",
|
|
]
|
|
|
|
|
|
def get_doc_path():
|
|
return "doc_classes"
|