Frame of Reference Game API  1.0.3
Properties | Events | List of all members
FrameOfReference.World.Config.DisplaySettings Class Reference

Stores display settings (resolution, etc.). Changes here require the engine to be reset. More...

Properties

Size Resolution [get, set]
 The monitor resolution for fullscreen mode More...
 
string ResolutionText [get, set]
 The monitor resolution for fullscreen mode - as a string followed with an x between the components More...
 
Size WindowSize [get, set]
 The size of the render window More...
 
int AntiAliasing [get, set]
 The level of anti aliasing to use More...
 
string? AntiAliasingText [get, set]
 The level of anti aliasing to use - as a string followed by an x More...
 
bool Fullscreen [get, set]
 Run game in fullscreen mode More...
 
bool VSync [get, set]
 Synchronize the framerate with the monitor's refresh rate More...
 

Events

Action Changed
 Occurs when a setting in this group is changed. More...
 

Detailed Description

Stores display settings (resolution, etc.). Changes here require the engine to be reset.

See also
Settings.Display

Property Documentation

◆ AntiAliasing

int FrameOfReference.World.Config.DisplaySettings.AntiAliasing
getset

The level of anti aliasing to use

◆ AntiAliasingText

string? FrameOfReference.World.Config.DisplaySettings.AntiAliasingText
getset

The level of anti aliasing to use - as a string followed by an x

◆ Fullscreen

bool FrameOfReference.World.Config.DisplaySettings.Fullscreen
getset

Run game in fullscreen mode

◆ Resolution

Size FrameOfReference.World.Config.DisplaySettings.Resolution
getset

The monitor resolution for fullscreen mode

◆ ResolutionText

string FrameOfReference.World.Config.DisplaySettings.ResolutionText
getset

The monitor resolution for fullscreen mode - as a string followed with an x between the components

◆ VSync

bool FrameOfReference.World.Config.DisplaySettings.VSync
getset

Synchronize the framerate with the monitor's refresh rate

◆ WindowSize

Size FrameOfReference.World.Config.DisplaySettings.WindowSize
getset

The size of the render window

Event Documentation

◆ Changed

Action FrameOfReference.World.Config.DisplaySettings.Changed

Occurs when a setting in this group is changed.


The documentation for this class was generated from the following file: