Show / Hide Table of Contents

Class WaitForTargetFrameRate

Inheritance
System.Object
WaitForTargetFrameRate
Namespace: VRage.Library.Utils
Assembly: VRage.Library.dll
Syntax
public class WaitForTargetFrameRate : Object

Constructors

WaitForTargetFrameRate(MyGameTimer, Single)

Declaration
public WaitForTargetFrameRate(MyGameTimer timer, float targetFrequency = 60F)
Parameters
Type Name Description
MyGameTimer timer
System.Single targetFrequency

Fields

ENABLE_TIMING_HOTFIX

Declaration
public static bool ENABLE_TIMING_HOTFIX
Field Value
Type Description
System.Boolean

EnableMaxSpeed

Declaration
public bool EnableMaxSpeed
Field Value
Type Description
System.Boolean

Properties

TickPerFrame

Declaration
public long TickPerFrame { get; }
Property Value
Type Description
System.Int64

Methods

SetNextFrameDelayDelta(Single)

Declaration
public void SetNextFrameDelayDelta(float delta)
Parameters
Type Name Description
System.Single delta

Wait()

Declaration
public void Wait()
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾