Update mesh viewer to allow better customisation. Closes #1811

This commit is contained in:
baldurk
2025-12-04 16:08:20 +00:00
parent 5b1b57d703
commit 45eabffb54
8 changed files with 295 additions and 212 deletions
@@ -342,6 +342,22 @@ DECLARE_REFLECTION_STRUCT(BugReport);
":type: int"); \
CONFIG_SETTING_VAL(public, int, int, MeshViewer_SpeedModifier, -1) \
\
DOCUMENT( \
"The near plane used in the mesh viewers display." \
"\n" \
"Defaults to ``0.1``." \
"" \
":type: float"); \
CONFIG_SETTING_VAL(public, float, float, MeshViewer_CameraNear, 0.1f) \
\
DOCUMENT( \
"The far plane used in the mesh viewers display." \
"\n" \
"Defaults to ``100000.0``." \
"" \
":type: float"); \
CONFIG_SETTING_VAL(public, float, float, MeshViewer_CameraFar, 100000.0f) \
\
DOCUMENT( \
"List of the directories containing custom shader files for the Texture Viewer.\n" \
"\n:" \