mirror of
https://github.com/RYDE-WORK/ballistica.git
synced 2026-02-06 15:47:06 +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, ...]
|
"""get_camera_position() -> tuple[float, ...]
|
||||||
|
|
||||||
(internal)
|
(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)
|
return (0.0, 0.0, 0.0)
|
||||||
|
|
||||||
@ -2020,6 +2024,10 @@ def get_camera_target() -> tuple[float, ...]:
|
|||||||
"""get_camera_target() -> tuple[float, ...]
|
"""get_camera_target() -> tuple[float, ...]
|
||||||
|
|
||||||
(internal)
|
(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)
|
return (0.0, 0.0, 0.0)
|
||||||
|
|
||||||
@ -3505,6 +3513,10 @@ def set_camera_manual(value: bool) -> None:
|
|||||||
"""set_camera_manual(value: bool) -> None
|
"""set_camera_manual(value: bool) -> None
|
||||||
|
|
||||||
(internal)
|
(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
|
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
|
"""set_camera_position(x: float, y: float, z: float) -> None
|
||||||
|
|
||||||
(internal)
|
(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
|
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
|
"""set_camera_target(x: float, y: float, z: float) -> None
|
||||||
|
|
||||||
(internal)
|
(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
|
return None
|
||||||
|
|
||||||
|
|||||||
@ -315,31 +315,51 @@ auto PythonMethodsGraphics::GetMethods() -> std::vector<PyMethodDef> {
|
|||||||
METH_VARARGS | METH_KEYWORDS,
|
METH_VARARGS | METH_KEYWORDS,
|
||||||
"get_camera_position() -> tuple[float, ...]\n"
|
"get_camera_position() -> tuple[float, ...]\n"
|
||||||
"\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,
|
{"get_camera_target", (PyCFunction)PyGetCameraTarget,
|
||||||
METH_VARARGS | METH_KEYWORDS,
|
METH_VARARGS | METH_KEYWORDS,
|
||||||
"get_camera_target() -> tuple[float, ...]\n"
|
"get_camera_target() -> tuple[float, ...]\n"
|
||||||
"\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,
|
{"set_camera_position", (PyCFunction)PySetCameraPosition,
|
||||||
METH_VARARGS | METH_KEYWORDS,
|
METH_VARARGS | METH_KEYWORDS,
|
||||||
"set_camera_position(x: float, y: float, z: float) -> None\n"
|
"set_camera_position(x: float, y: float, z: float) -> None\n"
|
||||||
"\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,
|
{"set_camera_target", (PyCFunction)PySetCameraTarget,
|
||||||
METH_VARARGS | METH_KEYWORDS,
|
METH_VARARGS | METH_KEYWORDS,
|
||||||
"set_camera_target(x: float, y: float, z: float) -> None\n"
|
"set_camera_target(x: float, y: float, z: float) -> None\n"
|
||||||
"\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,
|
{"set_camera_manual", (PyCFunction)PySetCameraManual,
|
||||||
METH_VARARGS | METH_KEYWORDS,
|
METH_VARARGS | METH_KEYWORDS,
|
||||||
"set_camera_manual(value: bool) -> None\n"
|
"set_camera_manual(value: bool) -> None\n"
|
||||||
"\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", PyHasGammaControl, METH_VARARGS,
|
||||||
"has_gamma_control() -> bool\n"
|
"has_gamma_control() -> bool\n"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user