Package org.lwjgl.openvr
Class VREventData
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.openvr.VREventData
-
- All Implemented Interfaces:
org.lwjgl.system.Pointer
public class VREventData extends org.lwjgl.system.StructLayout
union VREvent_Data_t {VREvent_Reserved_treserved;VREvent_Controller_tcontroller;VREvent_Mouse_tmouse;VREvent_Scroll_tscroll;VREvent_Process_tprocess;VREvent_Notification_tnotification;VREvent_Overlay_toverlay;VREvent_Status_tstatus;VREvent_Keyboard_tkeyboard;VREvent_Ipd_tipd;VREvent_Chaperone_tchaperone;VREvent_PerformanceTest_tperformanceTest;VREvent_TouchPadMove_ttouchPadMove;VREvent_SeatedZeroPoseReset_tseatedZeroPoseReset;VREvent_Screenshot_tscreenshot;VREvent_ScreenshotProgress_tscreenshotProgress;VREvent_ApplicationLaunch_tapplicationLaunch;VREvent_EditingCameraSurface_tcameraSurface;VREvent_MessageOverlay_tmessageOverlay;VREvent_Property_tproperty;VREvent_HapticVibration_thapticVibration;VREvent_WebConsole_twebConsole;VREvent_InputBindingLoad_tinputBinding;VREvent_InputActionManifestLoad_tactionManifest;VREvent_SpatialAnchor_tspatialAnchor; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVREventData.BufferAn array ofVREventDatastructs.
-
Field Summary
Fields Modifier and Type Field Description static intACTIONMANIFESTThe struct member offsets.static intALIGNOFThe struct alignment in bytes.static intAPPLICATIONLAUNCH
CAMERASURFACE
CHAPERONE
CONTROLLER
HAPTICVIBRATION
INPUTBINDING
IPD
KEYBOARD
MESSAGEOVERLAY
MOUSE
NOTIFICATION
OVERLAY
PERFORMANCETEST
PROCESS
PROPERTY
RESERVED
SCREENSHOT
SCREENSHOTPROGRESS
SCROLL
SEATEDZEROPOSERESETThe struct member offsets.static intSIZEOFThe struct size in bytes.static intSPATIALANCHOR
STATUS
TOUCHPADMOVE
WEBCONSOLEThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VREventData(java.nio.ByteBuffer container)Creates aVREventDatainstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
-
-
-
Field Detail
-
SIZEOF
The struct size in bytes.
-
ALIGNOF
The struct alignment in bytes.
-
RESERVED, CONTROLLER, MOUSE, SCROLL, PROCESS, NOTIFICATION, OVERLAY, STATUS, KEYBOARD, IPD, CHAPERONE, PERFORMANCETEST, TOUCHPADMOVE, SEATEDZEROPOSERESET, SCREENSHOT, SCREENSHOTPROGRESS, APPLICATIONLAUNCH, CAMERASURFACE, MESSAGEOVERLAY, PROPERTY, HAPTICVIBRATION, WEBCONSOLE, INPUTBINDING, ACTIONMANIFEST, SPATIALANCHOR
The struct member offsets.
-
-
Constructor Detail
-
VREventData
public VREventData(java.nio.ByteBuffer container)
Creates aVREventDatainstance at the current position of the specifiedByteBuffercontainer. Changes to the buffer's content will be visible to the struct instance and vice versa.The created instance holds a strong reference to the container object.
-
-
Method Detail
-
sizeof
public int sizeof()
- Specified by:
sizeofin classorg.lwjgl.system.Struct
-
reserved
public VREventReserved reserved()
- Returns:
- a
VREventReservedview of thereservedfield.
-
controller
public VREventController controller()
- Returns:
- a
VREventControllerview of thecontrollerfield.
-
mouse
public VREventMouse mouse()
- Returns:
- a
VREventMouseview of themousefield.
-
scroll
public VREventScroll scroll()
- Returns:
- a
VREventScrollview of thescrollfield.
-
process
public VREventProcess process()
- Returns:
- a
VREventProcessview of theprocessfield.
-
notification
public VREventNotification notification()
- Returns:
- a
VREventNotificationview of thenotificationfield.
-
overlay
public VREventOverlay overlay()
- Returns:
- a
VREventOverlayview of theoverlayfield.
-
status
public VREventStatus status()
- Returns:
- a
VREventStatusview of thestatusfield.
-
keyboard
public VREventKeyboard keyboard()
- Returns:
- a
VREventKeyboardview of thekeyboardfield.
-
ipd
public VREventIpd ipd()
- Returns:
- a
VREventIpdview of theipdfield.
-
chaperone
public VREventChaperone chaperone()
- Returns:
- a
VREventChaperoneview of thechaperonefield.
-
performanceTest
public VREventPerformanceTest performanceTest()
- Returns:
- a
VREventPerformanceTestview of theperformanceTestfield.
-
touchPadMove
public VREventTouchPadMove touchPadMove()
- Returns:
- a
VREventTouchPadMoveview of thetouchPadMovefield.
-
seatedZeroPoseReset
public VREventSeatedZeroPoseReset seatedZeroPoseReset()
- Returns:
- a
VREventSeatedZeroPoseResetview of theseatedZeroPoseResetfield.
-
screenshot
public VREventScreenshot screenshot()
- Returns:
- a
VREventScreenshotview of thescreenshotfield.
-
screenshotProgress
public VREventScreenshotProgress screenshotProgress()
- Returns:
- a
VREventScreenshotProgressview of thescreenshotProgressfield.
-
applicationLaunch
public VREventApplicationLaunch applicationLaunch()
- Returns:
- a
VREventApplicationLaunchview of theapplicationLaunchfield.
-
cameraSurface
public VREventEditingCameraSurface cameraSurface()
- Returns:
- a
VREventEditingCameraSurfaceview of thecameraSurfacefield.
-
messageOverlay
public VREventMessageOverlay messageOverlay()
- Returns:
- a
VREventMessageOverlayview of themessageOverlayfield.
-
property
public VREventProperty property()
- Returns:
- a
VREventPropertyview of thepropertyfield.
-
hapticVibration
public VREventHapticVibration hapticVibration()
- Returns:
- a
VREventHapticVibrationview of thehapticVibrationfield.
-
webConsole
public VREventWebConsole webConsole()
- Returns:
- a
VREventWebConsoleview of thewebConsolefield.
-
inputBinding
public VREventInputBindingLoad inputBinding()
- Returns:
- a
VREventInputBindingLoadview of theinputBindingfield.
-
actionManifest
public VREventInputActionManifestLoad actionManifest()
- Returns:
- a
VREventInputActionManifestLoadview of theactionManifestfield.
-
spatialAnchor
public VREventSpatialAnchor spatialAnchor()
- Returns:
- a
VREventSpatialAnchorview of thespatialAnchorfield.
-
create
public static VREventData create(long address)
Returns a newVREventDatainstance for the specified memory address.
-
createSafe
@Nullable public static VREventData createSafe(long address)
-
create
public static VREventData.Buffer create(long address, int capacity)
Create aVREventData.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VREventData.Buffer createSafe(long address, int capacity)
-
nreserved
public static VREventReserved nreserved(long struct)
Unsafe version ofreserved().
-
ncontroller
public static VREventController ncontroller(long struct)
Unsafe version ofcontroller().
-
nmouse
public static VREventMouse nmouse(long struct)
Unsafe version ofmouse().
-
nscroll
public static VREventScroll nscroll(long struct)
Unsafe version ofscroll().
-
nprocess
public static VREventProcess nprocess(long struct)
Unsafe version ofprocess().
-
nnotification
public static VREventNotification nnotification(long struct)
Unsafe version ofnotification().
-
noverlay
public static VREventOverlay noverlay(long struct)
Unsafe version ofoverlay().
-
nstatus
public static VREventStatus nstatus(long struct)
Unsafe version ofstatus().
-
nkeyboard
public static VREventKeyboard nkeyboard(long struct)
Unsafe version ofkeyboard().
-
nipd
public static VREventIpd nipd(long struct)
Unsafe version ofipd().
-
nchaperone
public static VREventChaperone nchaperone(long struct)
Unsafe version ofchaperone().
-
nperformanceTest
public static VREventPerformanceTest nperformanceTest(long struct)
Unsafe version ofperformanceTest().
-
ntouchPadMove
public static VREventTouchPadMove ntouchPadMove(long struct)
Unsafe version oftouchPadMove().
-
nseatedZeroPoseReset
public static VREventSeatedZeroPoseReset nseatedZeroPoseReset(long struct)
Unsafe version ofseatedZeroPoseReset().
-
nscreenshot
public static VREventScreenshot nscreenshot(long struct)
Unsafe version ofscreenshot().
-
nscreenshotProgress
public static VREventScreenshotProgress nscreenshotProgress(long struct)
Unsafe version ofscreenshotProgress().
-
napplicationLaunch
public static VREventApplicationLaunch napplicationLaunch(long struct)
Unsafe version ofapplicationLaunch().
-
ncameraSurface
public static VREventEditingCameraSurface ncameraSurface(long struct)
Unsafe version ofcameraSurface().
-
nmessageOverlay
public static VREventMessageOverlay nmessageOverlay(long struct)
Unsafe version ofmessageOverlay().
-
nproperty
public static VREventProperty nproperty(long struct)
Unsafe version ofproperty().
-
nhapticVibration
public static VREventHapticVibration nhapticVibration(long struct)
Unsafe version ofhapticVibration().
-
nwebConsole
public static VREventWebConsole nwebConsole(long struct)
Unsafe version ofwebConsole().
-
ninputBinding
public static VREventInputBindingLoad ninputBinding(long struct)
Unsafe version ofinputBinding().
-
nactionManifest
public static VREventInputActionManifestLoad nactionManifest(long struct)
Unsafe version ofactionManifest().
-
nspatialAnchor
public static VREventSpatialAnchor nspatialAnchor(long struct)
Unsafe version ofspatialAnchor().
-
-