Zdexby TheHolyOneZ
44,741 classes
Class

TimeUtility

: Object
UnityEngine.Timeline.TimeUtility, Unity.Timeline 0x0010 (16 B) inherited 0x0010 Unity.Timeline.dll
0x00x0010

Members 4

OffsetSizeNameTypeFlagsDefault
0x08kTimeEpsilondoublePublicStatic+1 flags—
0x08kFrameRateEpsilondoublePublicStatic+1 flags—
0x08k_MaxTimelineDurationInSecondsdoublePublicStatic+1 flags—
0x08kFrameRateRoundingdoublePublicStatic+1 flags—

Functions 23

SignatureFlagsNativeParams
void ValidateFrameRate(double frameRate)PrivateStatic—0x08
int ToFrames(double time, double frameRate)PublicStatic—0x08
double ToExactFrames(double time, double frameRate)PublicStatic—0x08
double FromFrames(int frames, double frameRate)PublicStatic—0x08
double FromFrames(double frames, double frameRate)PublicStatic—0x08
bool OnFrameBoundary(double time, double frameRate)PublicStatic0x08
double GetEpsilon(double time, double frameRate)PublicStatic0x08
int PreviousFrame(double time, double frameRate)PublicStatic0x08
int NextFrame(double time, double frameRate)PublicStatic0x08
double PreviousFrameTime(double time, double frameRate)PublicStatic0x08
double NextFrameTime(double time, double frameRate)PublicStatic0x08
bool OnFrameBoundary(double time, double frameRate, double epsilon)PublicStatic0x08
double RoundToFrame(double time, double frameRate)PublicStatic0x08
string TimeAsFrames(double timeValue, double frameRate, const string& format)PublicStatic0x08
string TimeAsTimeCode(double timeValue, double frameRate, const string& format)PublicStatic0x08
double ParseTimeCode(const string& timeCode, double frameRate, double defaultValue)PublicStatic0x08
double ParseTimeSeconds(const string& timeCode, double frameRate, double defaultValue)PublicStatic0x08
double GetAnimationClipLength(AnimationClip clip)PublicStatic0x08
string RemoveChar(const string& str, Func<System.Char charToRemoveFunc)PrivateStatic0x08
FrameRate GetClosestFrameRate(double frameRate)PublicStatic0x08
FrameRate ToFrameRate(const StandardFrameRates& enumValue)PublicStatic0x04
bool ToStandardFrameRate(const FrameRate& rate, ref StandardFrameRates& standard)Static+1 flags0x04
void .cctor()PrivateStatic+1 flags0x00