GetScreenTrait

From GECK
Jump to: navigation, search


A function added by the SUP NVSE Plugin.

Description

Returns current values of specified Screen traits.

Syntax

[help]
(fValue:float) GetScreenTrait iTrait:int

Traits

0 - Screen UI Width which is used in XML files;
1 - Screen UI Height which is used in XML files;
2 - Real screen resolution(Width);
3 - Real screen resolution(Height);
4 - <ResolutionConverter> trait of screen element;

Example

set fValue to GetScreenTrait 0