Click or drag to resize

AnimatedTextureFps Property

Animation speed in frames per second. This value defines the default time interval between two frames of the animation, and thus the overall duration of the animation loop based on the Frames property. A value of 0 means no predefined number of frames per second, the animation will play according to each frame's frame delay (see SetFrameDelay(Int32, Single)).

For example, an animation with 8 frames, no frame delay and a fps value of 2 will run for 4 seconds, with each frame lasting 0.5 seconds.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public float Fps { get; set; }

Property Value

Type: Single
See Also