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_DualAnalog_tdualAnalog;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
DUALANALOG
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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description VREventInputActionManifestLoadactionManifest()Returns aVREventInputActionManifestLoadview of theactionManifestfield.VREventApplicationLaunchapplicationLaunch()Returns aVREventApplicationLaunchview of theapplicationLaunchfield.VREventEditingCameraSurfacecameraSurface()Returns aVREventEditingCameraSurfaceview of thecameraSurfacefield.VREventChaperonechaperone()Returns aVREventChaperoneview of thechaperonefield.VREventControllercontroller()Returns aVREventControllerview of thecontrollerfield.static VREventDatacreate(long address)Returns a newVREventDatainstance for the specified memory address.static VREventData.Buffercreate(long address, int capacity)Create aVREventData.Bufferinstance at the specified memory.static VREventDatacreateSafe(long address)static VREventData.BuffercreateSafe(long address, int capacity)VREventDualAnalogdualAnalog()Returns aVREventDualAnalogview of thedualAnalogfield.VREventHapticVibrationhapticVibration()Returns aVREventHapticVibrationview of thehapticVibrationfield.VREventInputBindingLoadinputBinding()Returns aVREventInputBindingLoadview of theinputBindingfield.VREventIpdipd()Returns aVREventIpdview of theipdfield.VREventKeyboardkeyboard()Returns aVREventKeyboardview of thekeyboardfield.VREventMessageOverlaymessageOverlay()Returns aVREventMessageOverlayview of themessageOverlayfield.VREventMousemouse()Returns aVREventMouseview of themousefield.static VREventInputActionManifestLoadnactionManifest(long struct)Unsafe version ofactionManifest().static VREventApplicationLaunchnapplicationLaunch(long struct)Unsafe version ofapplicationLaunch().static VREventEditingCameraSurfacencameraSurface(long struct)Unsafe version ofcameraSurface().static VREventChaperonenchaperone(long struct)Unsafe version ofchaperone().static VREventControllerncontroller(long struct)Unsafe version ofcontroller().static VREventDualAnalogndualAnalog(long struct)Unsafe version ofdualAnalog().static VREventHapticVibrationnhapticVibration(long struct)Unsafe version ofhapticVibration().static VREventInputBindingLoadninputBinding(long struct)Unsafe version ofinputBinding().static VREventIpdnipd(long struct)Unsafe version ofipd().static VREventKeyboardnkeyboard(long struct)Unsafe version ofkeyboard().static VREventMessageOverlaynmessageOverlay(long struct)Unsafe version ofmessageOverlay().static VREventMousenmouse(long struct)Unsafe version ofmouse().static VREventNotificationnnotification(long struct)Unsafe version ofnotification().VREventNotificationnotification()Returns aVREventNotificationview of thenotificationfield.static VREventOverlaynoverlay(long struct)Unsafe version ofoverlay().static VREventPerformanceTestnperformanceTest(long struct)Unsafe version ofperformanceTest().static VREventProcessnprocess(long struct)Unsafe version ofprocess().static VREventPropertynproperty(long struct)Unsafe version ofproperty().static VREventReservednreserved(long struct)Unsafe version ofreserved().static VREventScreenshotnscreenshot(long struct)Unsafe version ofscreenshot().static VREventScreenshotProgressnscreenshotProgress(long struct)Unsafe version ofscreenshotProgress().static VREventScrollnscroll(long struct)Unsafe version ofscroll().static VREventSeatedZeroPoseResetnseatedZeroPoseReset(long struct)Unsafe version ofseatedZeroPoseReset().static VREventSpatialAnchornspatialAnchor(long struct)Unsafe version ofspatialAnchor().static VREventStatusnstatus(long struct)Unsafe version ofstatus().static VREventTouchPadMoventouchPadMove(long struct)Unsafe version oftouchPadMove().static VREventWebConsolenwebConsole(long struct)Unsafe version ofwebConsole().VREventOverlayoverlay()Returns aVREventOverlayview of theoverlayfield.VREventPerformanceTestperformanceTest()Returns aVREventPerformanceTestview of theperformanceTestfield.VREventProcessprocess()Returns aVREventProcessview of theprocessfield.VREventPropertyproperty()Returns aVREventPropertyview of thepropertyfield.VREventReservedreserved()Returns aVREventReservedview of thereservedfield.VREventScreenshotscreenshot()Returns aVREventScreenshotview of thescreenshotfield.VREventScreenshotProgressscreenshotProgress()Returns aVREventScreenshotProgressview of thescreenshotProgressfield.VREventScrollscroll()Returns aVREventScrollview of thescrollfield.VREventSeatedZeroPoseResetseatedZeroPoseReset()Returns aVREventSeatedZeroPoseResetview of theseatedZeroPoseResetfield.intsizeof()VREventSpatialAnchorspatialAnchor()Returns aVREventSpatialAnchorview of thespatialAnchorfield.VREventStatusstatus()Returns aVREventStatusview of thestatusfield.VREventTouchPadMovetouchPadMove()Returns aVREventTouchPadMoveview of thetouchPadMovefield.VREventWebConsolewebConsole()Returns aVREventWebConsoleview of thewebConsolefield.
-
-
-
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, DUALANALOG, 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 aVREventReservedview of thereservedfield.
-
controller
public VREventController controller()
Returns aVREventControllerview of thecontrollerfield.
-
mouse
public VREventMouse mouse()
Returns aVREventMouseview of themousefield.
-
scroll
public VREventScroll scroll()
Returns aVREventScrollview of thescrollfield.
-
process
public VREventProcess process()
Returns aVREventProcessview of theprocessfield.
-
notification
public VREventNotification notification()
Returns aVREventNotificationview of thenotificationfield.
-
overlay
public VREventOverlay overlay()
Returns aVREventOverlayview of theoverlayfield.
-
status
public VREventStatus status()
Returns aVREventStatusview of thestatusfield.
-
keyboard
public VREventKeyboard keyboard()
Returns aVREventKeyboardview of thekeyboardfield.
-
ipd
public VREventIpd ipd()
Returns aVREventIpdview of theipdfield.
-
chaperone
public VREventChaperone chaperone()
Returns aVREventChaperoneview of thechaperonefield.
-
performanceTest
public VREventPerformanceTest performanceTest()
Returns aVREventPerformanceTestview of theperformanceTestfield.
-
touchPadMove
public VREventTouchPadMove touchPadMove()
Returns aVREventTouchPadMoveview of thetouchPadMovefield.
-
seatedZeroPoseReset
public VREventSeatedZeroPoseReset seatedZeroPoseReset()
Returns aVREventSeatedZeroPoseResetview of theseatedZeroPoseResetfield.
-
screenshot
public VREventScreenshot screenshot()
Returns aVREventScreenshotview of thescreenshotfield.
-
screenshotProgress
public VREventScreenshotProgress screenshotProgress()
Returns aVREventScreenshotProgressview of thescreenshotProgressfield.
-
applicationLaunch
public VREventApplicationLaunch applicationLaunch()
Returns aVREventApplicationLaunchview of theapplicationLaunchfield.
-
cameraSurface
public VREventEditingCameraSurface cameraSurface()
Returns aVREventEditingCameraSurfaceview of thecameraSurfacefield.
-
messageOverlay
public VREventMessageOverlay messageOverlay()
Returns aVREventMessageOverlayview of themessageOverlayfield.
-
property
public VREventProperty property()
Returns aVREventPropertyview of thepropertyfield.
-
dualAnalog
public VREventDualAnalog dualAnalog()
Returns aVREventDualAnalogview of thedualAnalogfield.
-
hapticVibration
public VREventHapticVibration hapticVibration()
Returns aVREventHapticVibrationview of thehapticVibrationfield.
-
webConsole
public VREventWebConsole webConsole()
Returns aVREventWebConsoleview of thewebConsolefield.
-
inputBinding
public VREventInputBindingLoad inputBinding()
Returns aVREventInputBindingLoadview of theinputBindingfield.
-
actionManifest
public VREventInputActionManifestLoad actionManifest()
Returns aVREventInputActionManifestLoadview of theactionManifestfield.
-
spatialAnchor
public VREventSpatialAnchor spatialAnchor()
Returns aVREventSpatialAnchorview 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().
-
ndualAnalog
public static VREventDualAnalog ndualAnalog(long struct)
Unsafe version ofdualAnalog().
-
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().
-
-