Velaptor.Scene.IScene
Velaptor
Velaptor.Scene
IScene Interface
Represents a single scene that can be rendered to the screen.
public interface IScene :
Velaptor.IUpdatable,
Velaptor.IDrawable,
System.IDisposable
Derived
↳ SceneBase
Implements IUpdatable, IDrawable, System.IDisposable
Properties
Id
Gets the unique ID of the scene.
System.Guid Id { get; }
Property Value
IsLoaded
Gets a value indicating whether the scene has been loaded.
bool IsLoaded { get; }
Property Value
Name
Gets the name of the scene.
string Name { get; }
Property Value
WindowCenter
Gets the center of the window.
System.Drawing.Point WindowCenter { get; }
Property Value
WindowSize
Gets the size of the window.
Velaptor.SizeU WindowSize { get; }
Property Value
Methods
LoadContent()
Loads the scene content.
void LoadContent();
Resize(SizeU)
Updates the WindowSize.
void Resize(Velaptor.SizeU size);
Parameters
size
SizeU
The new size.
UnloadContent()
Unloads the scene's content.
void UnloadContent();