Class SceneManager
Assembly: PopcorningGuineaPig.Engine.dll
Syntax
public class SceneManager
Fields
|
Edit this page
View Source
height
Declaration
Field Value
|
Edit this page
View Source
width
Declaration
Field Value
Properties
|
Edit this page
View Source
CurrentScene
Declaration
public Scene? CurrentScene { get; }
Property Value
|
Edit this page
View Source
IsTransitioning
Declaration
public bool IsTransitioning { get; }
Property Value
Methods
|
Edit this page
View Source
ChangeScene(Scene)
Declaration
public void ChangeScene(Scene newScene)
Parameters
| Type |
Name |
Description |
| Scene |
newScene |
|
|
Edit this page
View Source
Declaration
public void ChangeSceneImmediate(Scene newScene)
Parameters
| Type |
Name |
Description |
| Scene |
newScene |
|
|
Edit this page
View Source
ClearSceneQueue()
Declaration
public void ClearSceneQueue()
|
Edit this page
View Source
ForceChangeScene(Scene)
Declaration
public void ForceChangeScene(Scene newScene)
Parameters
| Type |
Name |
Description |
| Scene |
newScene |
|
|
Edit this page
View Source
GetCurrentScene()
Declaration
public Scene GetCurrentScene()
Returns
|
Edit this page
View Source
GetQueueCount()
Declaration
public int GetQueueCount()
Returns
|
Edit this page
View Source
QueueScene(Scene, float)
Declaration
public void QueueScene(Scene scene, float transitionSeconds = 0)
Parameters
| Type |
Name |
Description |
| Scene |
scene |
|
| float |
transitionSeconds |
|
|
Edit this page
View Source
Render()
Declaration
|
Edit this page
View Source
SetWindowSize(int, int)
Declaration
public void SetWindowSize(int width, int height)
Parameters
| Type |
Name |
Description |
| int |
width |
|
| int |
height |
|
|
Edit this page
View Source
UnloadAllScenes()
Declaration
public void UnloadAllScenes()
|
Edit this page
View Source
Update(double)
Declaration
public void Update(double deltaTime)
Parameters
| Type |
Name |
Description |
| double |
deltaTime |
|