Interface IEngineScene
Represents a lightweight application scene owned by SceneHostApplication.
public interface IEngineScene
Methods
OnEnter(SceneHostApplication)
Called when the scene becomes active.
void OnEnter(SceneHostApplication sceneHost)
Parameters
sceneHostSceneHostApplicationThe scene host that now owns the scene.
OnExit()
Called before the scene is deactivated.
void OnExit()
Render(IRenderContext)
Renders the active scene into the supplied render context.
void Render(IRenderContext renderContext)
Parameters
renderContextIRenderContextThe render context for the current frame.
Update(FrameTime, FrameInput)
Updates the active scene for the current frame.
void Update(FrameTime frameTime, FrameInput input)
Parameters
frameTimeFrameTimeThe current frame timing snapshot.
inputFrameInputThe current frame input snapshot.