-
Notifications
You must be signed in to change notification settings - Fork 28
9B08EC0F
Marcel Härtel edited this page Aug 19, 2023
·
1 revision
AddDefaultComponents | Add all default (integrated) GameComponent's to the GameComponentCollection. These are basically a ICamera2D and a FPSCounter components.
If you want to add your own ones, call |
BeginAntialising | Everything between BeginAntialising() and EndAntialising() will be affected by MSAA.(Inherited from EditorService) |
BeginCamera2D | Use 'BeginCamera2D' as a replacement of SpriteBatch.Begin(SpriteSortMode, BlendState, SamplerState, DepthStencilState, RasterizerState, Effect, Matrix?).
Automatically uses the Matrix of the Camera2D component! |
BeginRenderTarget | Everything between BeginRenderTarget() and EndRenderTarget() will be drawn to the RenderTarget2D.(Inherited from EditorService) |
CamMove | Move the camera by the value defined in the parameter amount. (Inherited from EditorService) |
CamRotate | Rotate the camera component. (Inherited from EditorService) |
CamZoom | Zoom the camera component. (Inherited from EditorService) |
DisableRenderTargets | Disable all custom RenderTarget2D's hold by the EditorService.RenderTargetManager, before they becoming reactivated after 500 milliseconds. (Inherited from EditorService) |
Dispose | Disposes the contents of this service. (Inherited from EditorService) |
EndAntialising | Everything between BeginAntialising() and EndAntialising() will be affected by MSAA.(Inherited from EditorService) |
EndCamera2D | Use this to end the SpriteBatch, previously opened by BeginCamera2D(SpriteSortMode, BlendState, SamplerState, DepthStencilState, RasterizerState, Effect). (Inherited from EditorService) |
EndRenderTarget | Everything between BeginRenderTarget() and EndRenderTarget() will be drawn to the RenderTarget2D.(Inherited from EditorService) |
GetCamRotation | Get the current camera rotation. (Inherited from EditorService) |
GetCamZoom | Get the current camera zoom. (Inherited from EditorService) |
RemoveAllComponents | Remove all GameComponent from the GameComponentCollection. This also counts for your own ones!
If you only want to remove your own ones, call |
RemoveDefaultComponents | Remove all default (integrated) GameComponent's from the GameComponentCollection. These are basically a ICamera2D and a FPSCounter components.
If you want to add your own ones, call |
ResetCam | Resets all or specific values from the camera component to their defaults. (Inherited from EditorService) |
ResourceContentManagerInitialize | Initializes a custom ResourceContentManager. (Inherited from EditorService) |
InvalidationService Class
MonoGame.Forms.NET.Services Namespace
-
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