public TimeToPixel ( float time, |
||
time | float | |
rect | ||
return | float |
public float TimeToPixel(float time, Rect rect)
{
return ((((time - this.shownArea.x) / this.shownArea.width) * rect.width) + rect.x);
}