Class DesktopPlatform
- Namespace
- SimulationFramework.Desktop
- Assembly
- SimulationFramework.Desktop.dll
Implements a simulation environment which runs the simulation in a window.
public class DesktopPlatform : ISimulationPlatform, ISimulationComponent, IDisposable
- Inheritance
-
DesktopPlatform
- Implements
- Inherited Members
Constructors
DesktopPlatform(WindowOptions?)
public DesktopPlatform(WindowOptions? windowOptions = null)
Parameters
windowOptions
WindowOptions?
Properties
Window
public IWindow Window { get; }
Property Value
- IWindow
Methods
CreateGraphicsProvider()
protected virtual IGraphicsProvider CreateGraphicsProvider()
Returns
CreateImGuiProvider()
protected virtual ISimulationComponent CreateImGuiProvider()
Returns
CreateSimulationController()
protected virtual ISimulationController CreateSimulationController()
Returns
CreateTimeProvider()
protected virtual ITimeProvider CreateTimeProvider()
Returns
CreateWindowProvider()
protected virtual IWindowProvider CreateWindowProvider()
Returns
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public virtual void Dispose()
Initialize(MessageDispatcher)
Initializes the component. This is called once after the component is added to a simulation.
public virtual void Initialize(MessageDispatcher dispatcher)
Parameters
dispatcher
MessageDispatcherThe simulation's MessageDispatcher. This can be used to listen for messages to be called back at a later frame.
Register()
public static void Register()
RegisterInputProviders()
protected virtual void RegisterInputProviders()