mirror of
https://github.com/RYDE-WORK/ballistica.git
synced 2026-01-28 01:43:22 +08:00
Added warnings to new camera control calls
This commit is contained in:
parent
67d65fa039
commit
5f87476e96
@ -1 +1 @@
|
||||
320686119307869972803010339077202626108
|
||||
207646555889684244275321000216220256792
|
||||
@ -2012,6 +2012,10 @@ def get_camera_position() -> tuple[float, ...]:
|
||||
"""get_camera_position() -> tuple[float, ...]
|
||||
|
||||
(internal)
|
||||
|
||||
WARNING: these camera controls will not apply to network clients
|
||||
and may behave unpredicably in other ways. Use them only for
|
||||
tinkering.
|
||||
"""
|
||||
return (0.0, 0.0, 0.0)
|
||||
|
||||
@ -2020,6 +2024,10 @@ def get_camera_target() -> tuple[float, ...]:
|
||||
"""get_camera_target() -> tuple[float, ...]
|
||||
|
||||
(internal)
|
||||
|
||||
WARNING: these camera controls will not apply to network clients
|
||||
and may behave unpredicably in other ways. Use them only for
|
||||
tinkering.
|
||||
"""
|
||||
return (0.0, 0.0, 0.0)
|
||||
|
||||
@ -3505,6 +3513,10 @@ def set_camera_manual(value: bool) -> None:
|
||||
"""set_camera_manual(value: bool) -> None
|
||||
|
||||
(internal)
|
||||
|
||||
WARNING: these camera controls will not apply to network clients
|
||||
and may behave unpredicably in other ways. Use them only for
|
||||
tinkering.
|
||||
"""
|
||||
return None
|
||||
|
||||
@ -3513,6 +3525,10 @@ def set_camera_position(x: float, y: float, z: float) -> None:
|
||||
"""set_camera_position(x: float, y: float, z: float) -> None
|
||||
|
||||
(internal)
|
||||
|
||||
WARNING: these camera controls will not apply to network clients
|
||||
and may behave unpredicably in other ways. Use them only for
|
||||
tinkering.
|
||||
"""
|
||||
return None
|
||||
|
||||
@ -3521,6 +3537,10 @@ def set_camera_target(x: float, y: float, z: float) -> None:
|
||||
"""set_camera_target(x: float, y: float, z: float) -> None
|
||||
|
||||
(internal)
|
||||
|
||||
WARNING: these camera controls will not apply to network clients
|
||||
and may behave unpredicably in other ways. Use them only for
|
||||
tinkering.
|
||||
"""
|
||||
return None
|
||||
|
||||
|
||||
@ -315,31 +315,51 @@ auto PythonMethodsGraphics::GetMethods() -> std::vector<PyMethodDef> {
|
||||
METH_VARARGS | METH_KEYWORDS,
|
||||
"get_camera_position() -> tuple[float, ...]\n"
|
||||
"\n"
|
||||
"(internal)"},
|
||||
"(internal)\n"
|
||||
"\n"
|
||||
"WARNING: these camera controls will not apply to network clients\n"
|
||||
"and may behave unpredicably in other ways. Use them only for\n"
|
||||
"tinkering."},
|
||||
|
||||
{"get_camera_target", (PyCFunction)PyGetCameraTarget,
|
||||
METH_VARARGS | METH_KEYWORDS,
|
||||
"get_camera_target() -> tuple[float, ...]\n"
|
||||
"\n"
|
||||
"(internal)"},
|
||||
"(internal)\n"
|
||||
"\n"
|
||||
"WARNING: these camera controls will not apply to network clients\n"
|
||||
"and may behave unpredicably in other ways. Use them only for\n"
|
||||
"tinkering."},
|
||||
|
||||
{"set_camera_position", (PyCFunction)PySetCameraPosition,
|
||||
METH_VARARGS | METH_KEYWORDS,
|
||||
"set_camera_position(x: float, y: float, z: float) -> None\n"
|
||||
"\n"
|
||||
"(internal)"},
|
||||
"(internal)\n"
|
||||
"\n"
|
||||
"WARNING: these camera controls will not apply to network clients\n"
|
||||
"and may behave unpredicably in other ways. Use them only for\n"
|
||||
"tinkering."},
|
||||
|
||||
{"set_camera_target", (PyCFunction)PySetCameraTarget,
|
||||
METH_VARARGS | METH_KEYWORDS,
|
||||
"set_camera_target(x: float, y: float, z: float) -> None\n"
|
||||
"\n"
|
||||
"(internal)"},
|
||||
"(internal)\n"
|
||||
"\n"
|
||||
"WARNING: these camera controls will not apply to network clients\n"
|
||||
"and may behave unpredicably in other ways. Use them only for\n"
|
||||
"tinkering."},
|
||||
|
||||
{"set_camera_manual", (PyCFunction)PySetCameraManual,
|
||||
METH_VARARGS | METH_KEYWORDS,
|
||||
"set_camera_manual(value: bool) -> None\n"
|
||||
"\n"
|
||||
"(internal)"},
|
||||
"(internal)\n"
|
||||
"\n"
|
||||
"WARNING: these camera controls will not apply to network clients\n"
|
||||
"and may behave unpredicably in other ways. Use them only for\n"
|
||||
"tinkering."},
|
||||
|
||||
{"has_gamma_control", PyHasGammaControl, METH_VARARGS,
|
||||
"has_gamma_control() -> bool\n"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user