Skip to content

C87A2D7F

Marcel Härtel edited this page Aug 27, 2023 · 1 revision

ComponentState Enumeration

These are the states IUpdateable and IDrawable components can have.

Definition

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

C#

public enum ComponentState

Members

BeforeUpdate 0 Triggers before the component starts its regular update routine.
AfterUpdate 1 Triggers after the component ends its regular update routine.
BeforeDraw 2 Triggers before the component starts its regular draw routine.
AfterDraw 3 Triggers after the component ends its regular draw routine.

See Also

Reference

MonoGame.Forms.NET Namespace

Clone this wiki locally