NRSDKApiForUnity
Classes
NRVirtualDisplayer

Inherits SingletonBehaviour< NRVirtualDisplayer >, and ISystemButtonStateReceiver.

Public Member Functions

void Destroy ()
 
void UpdateResolution (Vector2 size)
 

Static Public Member Functions

static void OnDisplayResolutionChanged (int w, int h)
 

Static Public Attributes

static SystemInputState SystemButtonState = new SystemInputState()
 
static int VirtualDisplayFPS = 24
 

Events

static Action< Resolution > OnDisplayScreenChangedEvent
 
Action OnMultiDisplayInitialized
 

Detailed Description

A nr virtual displayer.

Member Function Documentation

◆ OnDisplayResolutionChanged()

static void NRKernal.NRVirtualDisplayer.OnDisplayResolutionChanged ( int  w,
int  h 
)
static

Executes the 'display resolution changed' action.

Parameters
wThe width.
hThe height.

◆ UpdateResolution()

void NRKernal.NRVirtualDisplayer.UpdateResolution ( Vector2  size)

Updates the resolution described by size.

Parameters
sizeThe size.