1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-15 13:51:40 +00:00

Implement time scaling for the rasterizer

which affects 3D particles and the TIME uniform
This commit is contained in:
Pedro J. Estébanez
2017-03-20 19:58:22 +01:00
parent f8db8a3faa
commit b4119f4fe9
8 changed files with 34 additions and 4 deletions

View File

@@ -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())