-
Notifications
You must be signed in to change notification settings - Fork 27
7E1AF59B
Marcel Härtel edited this page Aug 27, 2023
·
1 revision
These are the states a MonoGameControl or a InvalidationControl can have.
InvalidationControl's don't have update events!
Namespace: MonoGame.Forms.NET
Assembly: MonoGame.Forms.NET (in MonoGame.Forms.NET.dll) Version: 3.2.0
C#
public enum ControlState
StartUpdate | 0 | Triggers before the control starts a new update cycle. |
EndUpdate | 1 | Triggers after the control ends a complete update cycle. |
BeforeUpdate | 2 | Triggers before the control starts its regular update routine. |
AfterUpdate | 3 | Triggers after the control ends its regular update routine. |
BeforeComponentUpdate | 4 | Triggers before the components of a control starting their regular update routine. |
AfterComponentUpdate | 5 | Triggers after the components of a control ending their regular update routine. |
StartDraw | 6 | Triggers before the control starts a new draw cycle. |
EndDraw | 7 | Triggers after the control ends a complete draw cycle. |
BeforeDraw | 8 | Triggers before the control starts its regular draw routine. |
AfterDraw | 9 | Triggers after the control ends its regular draw routine. |
BeforeComponentDraw | 10 | Triggers before the components of a control starting their regular draw routine. |
AfterComponentDraw | 11 | Triggers after the components of a control ending their regular draw routine. |
-
Welcome to MonoGame.Forms!
- MonoGame.Forms.NET Namespace
- MonoGame.Forms.NET.Components Namespace
- MonoGame.Forms.NET.Components.Interfaces Namespace
-
MonoGame.Forms.NET.Controls Namespace
- GameControl Class
- GraphicsDeviceControl Class
- GraphicsDeviceControl.MouseWheelDownwardsEvent Delegate
- GraphicsDeviceControl.MouseWheelUpwardsEvent Delegate
- InvalidationControl Class
- MonoGameControl Class
-
MonoGame.Forms.NET.Services Namespace
-
EditorService Class
- EditorService Constructor
-
EditorService Properties
- BackgroundColor Property
- Camera Property
- Content Property
- Font Property
- FontHeight Property
- FPSCounter Property
- GetAbsoluteMousePosition Property
- GetCurrentMultiSampleCount Property
- GetRelativeMousePosition Property
- GetRenderTargetManager Property
- GraphicsDevice Property
- Pixel Property
- ResourceContent Property
- spriteBatch Property
- SwapChainRenderTarget Property
-
EditorService Methods
- AddDefaultComponents Method
- BeginAntialising Method
- BeginCamera2D Method
- BeginRenderTarget Method
- CamMove Method
- CamRotate Method
- CamZoom Method
- DisableRenderTargets Method
- Dispose Method
- EndAntialising Method
- EndCamera2D Method
- EndRenderTarget Method
- GetCamRotation Method
- GetCamZoom Method
- RemoveAllComponents Method
- RemoveDefaultComponents Method
- ResetCam Method
- ResourceContentManagerInitialize Method
- EditorService Events
- EditorService.RenderTargetManager Class
- EditorService.RenderTargetManager.RenderTarget2DHelper Class
- InvalidationService Class
- MonoGameService Class
-
EditorService Class