Interface IFullscreenProvider
- Namespace
- SimulationFramework.Components
- Assembly
- SimulationFramework.dll
Provides Fullscreen functionality to the application.
public interface IFullscreenProvider : ISimulationComponent, IDisposable
- Inherited Members
Properties
IsFullscreen
Whether the simulation is currently fullscreen.
bool IsFullscreen { get; }
Property Value
PreferExclusive
Whether to prefer exclusive or borderless fullscreen.
bool PreferExclusive { get; set; }
Property Value
Methods
EnterFullscreen(IDisplay?)
Attempts to enter fullscreen. The fullscreen mode is determined by PreferExclusive.
On some platforms, windowed mode may not be supported. On those platforms, this method does nothing.
To know if this method succeeded, check IsFullscreen on the next frame.
void EnterFullscreen(IDisplay? display)
Parameters
ExitFullscreen()
Attempts to exit fullscreen.
On some platforms, windowed mode may not be supported. On those platforms, this method does nothing.
To know if this method succeeded, check IsFullscreen on the next frame.
void ExitFullscreen()