Bug.Utils.AnimatedTexture2D.SetFPS C# (CSharp) Method

SetFPS() public method

public SetFPS ( int fps ) : void
fps int
return void
        public void SetFPS(int fps)
        {
            // The 2 is a total fudge-factor
            frameTime = 2 * 1000d / fps;
        }