Synced
GamePresentationSettings
Section titled “GamePresentationSettings”
- Defines the project-wide game presentation area shared by Editor previews and deployed Players.
Required contracts
Section titled “Required contracts”API: engine
Implements: Inno.Core.Serialization.ISerializable
Inherits: object
Project: Inno.Runtime
Declaration
Section titled “Declaration”public sealed class Inno.Runtime.GamePresentationSettings : Inno.Core.Serialization.ISerializableMembers
Section titled “Members”| Kind | Element | Description |
|---|---|---|
| Constructors | GamePresentationSettings.Constructor | No XML description is available. |
| Fields | GamePresentationSettings.settingProtocolId | Gets the immutable project-setting protocol value used by discovery metadata. |
| Methods | GamePresentationSettings.CalculateViewport | Calculates the centered content region for an available presentation surface. |
| Properties | GamePresentationSettings.preserveAspectRatio | Gets or sets whether the complete reference frame is fitted inside the available surface. |
| Properties | GamePresentationSettings.referenceHeight | Gets or sets the positive reference-frame height used to derive the presentation aspect ratio. |
| Properties | GamePresentationSettings.referenceWidth | Gets or sets the positive reference-frame width used to derive the presentation aspect ratio. |
| Properties | GamePresentationSettings.settingId | Gets the stable project-setting identity for game presentation. |