This is the old Animancer v7.4 documentation. Click here for the latest version.

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