C# 클래스 UnityEngine.Display

파일 보기 프로젝트 열기: CarlosHBC/UnityDecompiled 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
displays UnityEngine.Display[]

공개 메소드들

메소드 설명
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.

비공개 메소드들

메소드 설명
ActivateDisplayImpl ( IntPtr nativeDisplay, int width, int height, int refreshRate ) : void
Display ( ) : System
Display ( IntPtr nativeDisplay ) : System
FireDisplaysUpdated ( ) : void
GetRenderingBuffersImpl ( IntPtr nativeDisplay, RenderBuffer &color, RenderBuffer &depth ) : void
GetRenderingExtImpl ( IntPtr nativeDisplay, int &w, int &h ) : void
GetSystemExtImpl ( IntPtr nativeDisplay, int &w, int &h ) : void
MultiDisplayLicense ( ) : bool
RecreateDisplayList ( IntPtr nativeDisplay ) : void
RelativeMouseAtImpl ( int x, int y, int &rx, int &ry ) : int
SetParamsImpl ( IntPtr nativeDisplay, int width, int height, int x, int y ) : void
SetRenderingResolutionImpl ( IntPtr nativeDisplay, int w, int h ) : void

메소드 상세

Activate() 공개 메소드

Activate an external display. Eg. Secondary Monitors connected to the System.

public Activate ( ) : void
리턴 void

Activate() 공개 메소드

This overloaded function available for Windows allows specifying desired Window Width, Height and Refresh Rate.

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.
리턴 void

RelativeMouseAt() 공개 정적인 메소드

Query relative mouse coordinates.

public static RelativeMouseAt ( Vector3 inputMouseCoordinates ) : Vector3
inputMouseCoordinates Vector3 Mouse Input Position as Coordinates.
리턴 Vector3

SetParams() 공개 메소드

Set rendering size and position on screen (Windows only).

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).
리턴 void

SetRenderingResolution() 공개 메소드

Sets rendering resolution for the display.

public SetRenderingResolution ( int w, int h ) : void
w int Rendering width in pixels.
h int Rendering height in pixels.
리턴 void

프로퍼티 상세

displays 공개적으로 정적으로 프로퍼티

The list of currently connected Displays. Contains at least one (main) display.

public static Display[],UnityEngine displays
리턴 UnityEngine.Display[]