public class FpsHelper extends Object
FpsPainter
Constructor and Description |
---|
FpsHelper() |
FpsHelper(float lastEstimate,
long timeOfLastCounterReset,
float frameCount) |
Modifier and Type | Method and Description |
---|---|
float |
getFrameCount() |
float |
getLastFpsEstimate() |
long |
getTimeOfLastCounterReset() |
void |
setFpsEstimate(float estimate) |
void |
setFrameCount(float frameCount) |
void |
setTimeOfCounterReset(long timeOfReset) |
public FpsHelper()
public FpsHelper(float lastEstimate, long timeOfLastCounterReset, float frameCount)
public float getLastFpsEstimate()
public long getTimeOfLastCounterReset()
public float getFrameCount()
public void setFpsEstimate(float estimate)
public void setTimeOfCounterReset(long timeOfReset)
public void setFrameCount(float frameCount)
Copyright © 2016 Metron, Inc.. All rights reserved.