C# Класс OVRPluginEvent, Lucid-VR

Communicates with native plugin functions that run on the rendering thread.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
DecodeData ( int eventData ) : int
EncodeData ( int eventId, int eventData, int pos ) : int
EncodeType ( int eventType ) : int

Описание методов

Issue() публичный статический Метод

Immediately issues the given event.
public static Issue ( RenderEventType eventType ) : void
eventType RenderEventType
Результат void

IssueWithData() публичный статический Метод

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
Результат void