mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Merge pull request #7912 from RandomShaper/pause-rasterizer-2.1
Implement time scaling for the rasterizer (2.1)
This commit is contained in:
commit
938dc07b2b
8 changed files with 34 additions and 4 deletions
|
|
@ -7017,6 +7017,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