Skip to content

CD9CF1BE

Marcel Härtel edited this page Aug 27, 2023 · 2 revisions

RunFrames Method

Run a specific amount of frames before the game loop falls to sleep again. The bool MouseHoverUpdatesOnly must be set to 'true' before.

Remarks

This could be helpful if some update mechanics are needing longer to update but doesn't need to run continuously afterwards.

Definition

Namespace: MonoGame.Forms.NET.Controls
Assembly: MonoGame.Forms.NET (in MonoGame.Forms.NET.dll) Version: 3.2.0

C#

public void RunFrames(
	int count
)

Parameters

  Int32
The amount of frames you want to render.

See Also

Reference

GameControl Class
MonoGame.Forms.NET.Controls Namespace

Clone this wiki locally