C# Class OVRPluginEvent, Lucid-VR

Communicates with native plugin functions that run on the rendering thread.
Afficher le fichier Open project: UCSDVR/Lucid-VR Class Usage Examples

Méthodes publiques

Méthode Description
Issue ( RenderEventType eventType ) : void

Immediately issues the given event.

IssueWithData ( RenderEventType eventType, int eventData ) : void

Create a data channel through the single 32-bit integer we are given to communicate with the plugin. Split the 32-bit integer event data into two separate "send-two-bytes" plugin events. Then issue the explicit event that makes use of the data.

Private Methods

Méthode Description
DecodeData ( int eventData ) : int
EncodeData ( int eventId, int eventData, int pos ) : int
EncodeType ( int eventType ) : int

Method Details

Issue() public static méthode

Immediately issues the given event.
public static Issue ( RenderEventType eventType ) : void
eventType RenderEventType
Résultat void

IssueWithData() public static méthode

Create a data channel through the single 32-bit integer we are given to communicate with the plugin. Split the 32-bit integer event data into two separate "send-two-bytes" plugin events. Then issue the explicit event that makes use of the data.
public static IssueWithData ( RenderEventType eventType, int eventData ) : void
eventType RenderEventType
eventData int
Résultat void