Bug.Utils.AnimatedTexture2D.SetFPS C# (CSharp) 메소드

SetFPS() 공개 메소드

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