Added interpolation property to GPUParticles2D

This commit is contained in:
Igor Kordiukiewicz
2022-03-01 19:59:49 +01:00
parent e7c1888d20
commit fd54762892
4 changed files with 21 additions and 0 deletions

View File

@@ -90,6 +90,7 @@
If [code]true[/code], results in fractional delta calculation which has a smoother particles display effect.
</member>
<member name="interpolate" type="bool" setter="set_interpolate" getter="get_interpolate" default="true">
Enables particle interpolation, which makes the particle movement smoother when their [member fixed_fps] is lower than the screen refresh rate.
</member>
<member name="lifetime" type="float" setter="set_lifetime" getter="get_lifetime" default="1.0">
Amount of time each particle will exist.