TimelineGUI.

SecondsToPixels(float) Method

Summary

Converts a number of seconds to a horizontal pixel position along the ruler.
Assembly
Animancer.dll
Namespace
Animancer.Editor
Containing Type
TimelineGUI

Syntax

public float SecondsToPixels(float seconds)

Remarks

The value is rounded to the nearest integer.

Parameters

Name Type Description
seconds float

Return Value

Type Description
float