Added camera clipping setting.

This commit is contained in:
armored-dragon 2025-04-02 21:03:09 -05:00
parent 3e397b45a6
commit 43ea730c4a
No known key found for this signature in database
GPG key ID: C7207ACC3382AD8B

View file

@ -294,6 +294,16 @@ Rectangle {
}
}
// Camera clipping
SettingBoolean {
settingText: "Allow camera clipping";
settingEnabled: !Render.cameraClippingEnabled
onSettingEnabledChanged: {
Render.cameraClippingEnabled = settingEnabled ? 0 : 1;
}
}
// Anti Aliasing
SettingComboBox {
settingText: "Anti-aliasing";