FTimeToPixel::PixelToSeconds

Converts a pixel value to time

Windows
MacOS
Linux

References

Module

MovieSceneTools

Header

/Engine/Source/Editor/MovieSceneTools/Public/CommonMovieSceneTools.h

Include

#include "CommonMovieSceneTools.h"

Syntax

double PixelToSeconds
(
    float PixelX
) const

Remarks

Converts a pixel value to time

Returns

The time where the pixel is located

Parameters

Parameter

Description

PixelX

The x value of a pixel coordinate relative to the geometry that was passed into the constructor.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss