mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Implement time scaling for the rasterizer
which affects 3D particles and the TIME uniform
This commit is contained in:
parent
f8db8a3faa
commit
b4119f4fe9
8 changed files with 34 additions and 4 deletions
|
|
@ -7016,6 +7016,11 @@ Color VisualServerRaster::get_default_clear_color() const {
|
|||
return clear_color;
|
||||
}
|
||||
|
||||
void VisualServerRaster::set_time_scale(float p_scale) {
|
||||
|
||||
rasterizer->set_time_scale(p_scale);
|
||||
}
|
||||
|
||||
void VisualServerRaster::set_boot_image(const Image &p_image, const Color &p_color, bool p_scale) {
|
||||
|
||||
if (p_image.empty())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue