989onan bot (talk | contribs) Automated: update SyncDelegates |
add info |
||
Line 3: | Line 3: | ||
|Name=Resolution Settings | |Name=Resolution Settings | ||
}} | }} | ||
The '''ResolutionSettings''' component is a [[Settings]] component. | |||
== | == Fields == | ||
{{Table ComponentFields | {{Table ComponentFields | ||
|Fullscreen|Bool| | |Fullscreen|Bool| Whether or not the game should change to fullscreen mode. | ||
|WindowResolution|Int2| | |WindowResolution|Int2| The resolution in pixels the main window should render at while in windowed mode. | ||
|FullscreenResolution|Int2| | |FullscreenResolution|Int2| The resolution in pixels the main window should render at while in full screen. | ||
|CommitedWindowResolution|Int2| | |CommitedWindowResolution|Int2| The resolution in pixels the main window is currently at while in windowed mode. | ||
|CommitedFullscreenResolution|Int2| | |CommitedFullscreenResolution|Int2| The resolution in pixels the main window is currently at while in full screen. | ||
|NeedsToApplyResolution|Bool| | |NeedsToApplyResolution|Bool| Whether or not the resolution settings need to be applied. | ||
}} | }} | ||
== Sync Delegates == | == Sync Delegates == | ||
{{Table ComponentTriggers | {{Table ComponentTriggers | ||
|ApplyResolution:[[Type:Action|Action]]|[[Type:Action|Action]]|false| | |ApplyResolution:[[Type:Action|Action]]|[[Type:Action|Action]]|false| Applies the currently chosen resolution. | ||
}} | }} | ||
== | == Usage == | ||
See [[Settings#Resolution|Resolution Settings]]. | |||
== Examples == | == Examples == | ||
See [[Settings#Resolution|Resolution Settings]]. | |||
== See Also == | == See Also == | ||
* [[Settings#Resolution|Resolution Settings]] | |||
[[Category:Components:Uncategorized{{#translation:}}|Resolution Settings]] | [[Category:Components:Uncategorized{{#translation:}}|Resolution Settings]] | ||
[[Category:Components{{#translation:}}|Resolution Settings]] | [[Category:Components{{#translation:}}|Resolution Settings]] | ||
Latest revision as of 22:28, 7 April 2025
Component image 
Resolution Settings component as seen in the Scene Inspector

The ResolutionSettings component is a Settings component.
Fields
Name | Type | Description |
---|---|---|
persistent
|
Bool | Determines whether or not this item will be saved to the server. |
UpdateOrder
|
Int | Controls the order in which this component is updated. |
Enabled
|
Bool | Controls whether or not this component is enabled. Some components stop their functionality when this field is disabled, but some don't. |
Fullscreen
|
Bool | Whether or not the game should change to fullscreen mode. |
WindowResolution
|
Int2 | The resolution in pixels the main window should render at while in windowed mode. |
FullscreenResolution
|
Int2 | The resolution in pixels the main window should render at while in full screen. |
CommitedWindowResolution
|
Int2 | The resolution in pixels the main window is currently at while in windowed mode. |
CommitedFullscreenResolution
|
Int2 | The resolution in pixels the main window is currently at while in full screen. |
NeedsToApplyResolution
|
Bool | Whether or not the resolution settings need to be applied. |
Sync Delegates
Usage
See Resolution Settings.
Examples
See Resolution Settings.