Свойство | Type | Description | |
---|---|---|---|
displays | UnityEngine.Display[] |
Méthode | Description | |
---|---|---|
Activate ( ) : void |
Activate an external display. Eg. Secondary Monitors connected to the System.
|
|
Activate ( int width, int height, int refreshRate ) : void |
This overloaded function available for Windows allows specifying desired Window Width, Height and Refresh Rate.
|
|
RelativeMouseAt ( Vector3 inputMouseCoordinates ) : Vector3 |
Query relative mouse coordinates.
|
|
SetParams ( int width, int height, int x, int y ) : void |
Set rendering size and position on screen (Windows only).
|
|
SetRenderingResolution ( int w, int h ) : void |
Sets rendering resolution for the display.
|
Méthode | Description | |
---|---|---|
ActivateDisplayImpl ( |
||
Display ( ) : System | ||
Display ( |
||
FireDisplaysUpdated ( ) : void | ||
GetRenderingBuffersImpl ( |
||
GetRenderingExtImpl ( |
||
GetSystemExtImpl ( |
||
MultiDisplayLicense ( ) : bool | ||
RecreateDisplayList ( |
||
RelativeMouseAtImpl ( int x, int y, int &rx, int &ry ) : int | ||
SetParamsImpl ( |
||
SetRenderingResolutionImpl ( |
public Activate ( int width, int height, int refreshRate ) : void | ||
width | int | Desired Width of the Window (for Windows only. On Linux and Mac uses Screen Width). |
height | int | Desired Height of the Window (for Windows only. On Linux and Mac uses Screen Height). |
refreshRate | int | Desired Refresh Rate. |
Résultat | void |
public static RelativeMouseAt ( Vector3 inputMouseCoordinates ) : Vector3 | ||
inputMouseCoordinates | Vector3 | Mouse Input Position as Coordinates. |
Résultat | Vector3 |
public SetParams ( int width, int height, int x, int y ) : void | ||
width | int | Change Window Width (Windows Only). |
height | int | Change Window Height (Windows Only). |
x | int | Change Window Position X (Windows Only). |
y | int | Change Window Position Y (Windows Only). |
Résultat | void |
public SetRenderingResolution ( int w, int h ) : void | ||
w | int | Rendering width in pixels. |
h | int | Rendering height in pixels. |
Résultat | void |