struct RealTimeSince

in global :: Sandbox

A convenience struct to easily measure time since an event last happened, based on . Typical usage would see you assigning 0 to a variable of this type to reset the timer. Then the struct would return time since the last reset. i.e.: RealTimeSince lastUsed = 0; if ( lastUsed > 10 ) { /*Do something*/ }


public double Absolute { get; }

Time at which the timer reset happened, based on .

public float Relative { get; }

Time passed since last reset, in seconds.

public Type GetType( )

😔 No documentation found.

public bool Equals( RealTimeSince o )

😔 No documentation found.

public bool Equals( object obj )

😔 No documentation found.

public static bool op_Inequality( RealTimeSince left, RealTimeSince right )

😔 No documentation found.

public static bool op_Equality( RealTimeSince left, RealTimeSince right )

😔 No documentation found.

public string ToString( )

😔 No documentation found.

public int GetHashCode( )

😔 No documentation found.

public static bool op_GreaterThanOrEqual( ref RealTimeSince ts, int f )

😔 No documentation found.

public static bool op_GreaterThan( ref RealTimeSince ts, int f )

😔 No documentation found.

public static bool op_LessThan( ref RealTimeSince ts, int f )

😔 No documentation found.

public static bool op_GreaterThanOrEqual( ref RealTimeSince ts, float f )

😔 No documentation found.

public static bool op_LessThanOrEqual( ref RealTimeSince ts, float f )

😔 No documentation found.

public static bool op_GreaterThan( ref RealTimeSince ts, float f )

😔 No documentation found.

public static bool op_LessThan( ref RealTimeSince ts, float f )

😔 No documentation found.

public static RealTimeSince op_Implicit( float ts )

😔 No documentation found.

public static bool op_LessThanOrEqual( ref RealTimeSince ts, int f )

😔 No documentation found.

public static float op_Implicit( RealTimeSince ts )

😔 No documentation found.