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.Struct
Layout
union VREvent_Data_t {
VREvent_Reserved_t
reserved;VREvent_Controller_t
controller;VREvent_Mouse_t
mouse;VREvent_Scroll_t
scroll;VREvent_Process_t
process;VREvent_Notification_t
notification;VREvent_Overlay_t
overlay;VREvent_Status_t
status;VREvent_Keyboard_t
keyboard;VREvent_Ipd_t
ipd;VREvent_Chaperone_t
chaperone;VREvent_PerformanceTest_t
performanceTest;VREvent_TouchPadMove_t
touchPadMove;VREvent_SeatedZeroPoseReset_t
seatedZeroPoseReset;VREvent_Screenshot_t
screenshot;VREvent_ScreenshotProgress_t
screenshotProgress;VREvent_ApplicationLaunch_t
applicationLaunch;VREvent_EditingCameraSurface_t
cameraSurface;VREvent_MessageOverlay_t
messageOverlay;VREvent_Property_t
property;VREvent_DualAnalog_t
dualAnalog;VREvent_HapticVibration_t
hapticVibration;VREvent_WebConsole_t
webConsole;VREvent_InputBindingLoad_t
inputBinding;VREvent_InputActionManifestLoad_t
actionManifest;VREvent_SpatialAnchor_t
spatialAnchor; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VREventData.Buffer
An array ofVREventData
structs.
-
Field Summary
Fields Modifier and Type Field Description static int
ACTIONMANIFEST
The struct member offsets.static int
ALIGNOF
The struct alignment in bytes.static int
APPLICATIONLAUNCH
CAMERASURFACE
CHAPERONE
CONTROLLER
DUALANALOG
HAPTICVIBRATION
INPUTBINDING
IPD
KEYBOARD
MESSAGEOVERLAY
MOUSE
NOTIFICATION
OVERLAY
PERFORMANCETEST
PROCESS
PROPERTY
RESERVED
SCREENSHOT
SCREENSHOTPROGRESS
SCROLL
SEATEDZEROPOSERESETThe struct member offsets.static int
SIZEOF
The struct size in bytes.static int
SPATIALANCHOR
STATUS
TOUCHPADMOVE
WEBCONSOLEThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VREventData(java.nio.ByteBuffer container)
Creates aVREventData
instance at the current position of the specifiedByteBuffer
container.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description VREventInputActionManifestLoad
actionManifest()
Returns aVREventInputActionManifestLoad
view of theactionManifest
field.VREventApplicationLaunch
applicationLaunch()
Returns aVREventApplicationLaunch
view of theapplicationLaunch
field.VREventEditingCameraSurface
cameraSurface()
Returns aVREventEditingCameraSurface
view of thecameraSurface
field.VREventChaperone
chaperone()
Returns aVREventChaperone
view of thechaperone
field.VREventController
controller()
Returns aVREventController
view of thecontroller
field.static VREventData
create(long address)
Returns a newVREventData
instance for the specified memory address.static VREventData.Buffer
create(long address, int capacity)
Create aVREventData.Buffer
instance at the specified memory.static VREventData
createSafe(long address)
static VREventData.Buffer
createSafe(long address, int capacity)
VREventDualAnalog
dualAnalog()
Returns aVREventDualAnalog
view of thedualAnalog
field.VREventHapticVibration
hapticVibration()
Returns aVREventHapticVibration
view of thehapticVibration
field.VREventInputBindingLoad
inputBinding()
Returns aVREventInputBindingLoad
view of theinputBinding
field.VREventIpd
ipd()
Returns aVREventIpd
view of theipd
field.VREventKeyboard
keyboard()
Returns aVREventKeyboard
view of thekeyboard
field.VREventMessageOverlay
messageOverlay()
Returns aVREventMessageOverlay
view of themessageOverlay
field.VREventMouse
mouse()
Returns aVREventMouse
view of themouse
field.static VREventInputActionManifestLoad
nactionManifest(long struct)
Unsafe version ofactionManifest()
.static VREventApplicationLaunch
napplicationLaunch(long struct)
Unsafe version ofapplicationLaunch()
.static VREventEditingCameraSurface
ncameraSurface(long struct)
Unsafe version ofcameraSurface()
.static VREventChaperone
nchaperone(long struct)
Unsafe version ofchaperone()
.static VREventController
ncontroller(long struct)
Unsafe version ofcontroller()
.static VREventDualAnalog
ndualAnalog(long struct)
Unsafe version ofdualAnalog()
.static VREventHapticVibration
nhapticVibration(long struct)
Unsafe version ofhapticVibration()
.static VREventInputBindingLoad
ninputBinding(long struct)
Unsafe version ofinputBinding()
.static VREventIpd
nipd(long struct)
Unsafe version ofipd()
.static VREventKeyboard
nkeyboard(long struct)
Unsafe version ofkeyboard()
.static VREventMessageOverlay
nmessageOverlay(long struct)
Unsafe version ofmessageOverlay()
.static VREventMouse
nmouse(long struct)
Unsafe version ofmouse()
.static VREventNotification
nnotification(long struct)
Unsafe version ofnotification()
.VREventNotification
notification()
Returns aVREventNotification
view of thenotification
field.static VREventOverlay
noverlay(long struct)
Unsafe version ofoverlay()
.static VREventPerformanceTest
nperformanceTest(long struct)
Unsafe version ofperformanceTest()
.static VREventProcess
nprocess(long struct)
Unsafe version ofprocess()
.static VREventProperty
nproperty(long struct)
Unsafe version ofproperty()
.static VREventReserved
nreserved(long struct)
Unsafe version ofreserved()
.static VREventScreenshot
nscreenshot(long struct)
Unsafe version ofscreenshot()
.static VREventScreenshotProgress
nscreenshotProgress(long struct)
Unsafe version ofscreenshotProgress()
.static VREventScroll
nscroll(long struct)
Unsafe version ofscroll()
.static VREventSeatedZeroPoseReset
nseatedZeroPoseReset(long struct)
Unsafe version ofseatedZeroPoseReset()
.static VREventSpatialAnchor
nspatialAnchor(long struct)
Unsafe version ofspatialAnchor()
.static VREventStatus
nstatus(long struct)
Unsafe version ofstatus()
.static VREventTouchPadMove
ntouchPadMove(long struct)
Unsafe version oftouchPadMove()
.static VREventWebConsole
nwebConsole(long struct)
Unsafe version ofwebConsole()
.VREventOverlay
overlay()
Returns aVREventOverlay
view of theoverlay
field.VREventPerformanceTest
performanceTest()
Returns aVREventPerformanceTest
view of theperformanceTest
field.VREventProcess
process()
Returns aVREventProcess
view of theprocess
field.VREventProperty
property()
Returns aVREventProperty
view of theproperty
field.VREventReserved
reserved()
Returns aVREventReserved
view of thereserved
field.VREventScreenshot
screenshot()
Returns aVREventScreenshot
view of thescreenshot
field.VREventScreenshotProgress
screenshotProgress()
Returns aVREventScreenshotProgress
view of thescreenshotProgress
field.VREventScroll
scroll()
Returns aVREventScroll
view of thescroll
field.VREventSeatedZeroPoseReset
seatedZeroPoseReset()
Returns aVREventSeatedZeroPoseReset
view of theseatedZeroPoseReset
field.int
sizeof()
VREventSpatialAnchor
spatialAnchor()
Returns aVREventSpatialAnchor
view of thespatialAnchor
field.VREventStatus
status()
Returns aVREventStatus
view of thestatus
field.VREventTouchPadMove
touchPadMove()
Returns aVREventTouchPadMove
view of thetouchPadMove
field.VREventWebConsole
webConsole()
Returns aVREventWebConsole
view of thewebConsole
field.
-
-
-
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 aVREventData
instance at the current position of the specifiedByteBuffer
container. 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:
sizeof
in classorg.lwjgl.system.Struct
-
reserved
public VREventReserved reserved()
Returns aVREventReserved
view of thereserved
field.
-
controller
public VREventController controller()
Returns aVREventController
view of thecontroller
field.
-
mouse
public VREventMouse mouse()
Returns aVREventMouse
view of themouse
field.
-
scroll
public VREventScroll scroll()
Returns aVREventScroll
view of thescroll
field.
-
process
public VREventProcess process()
Returns aVREventProcess
view of theprocess
field.
-
notification
public VREventNotification notification()
Returns aVREventNotification
view of thenotification
field.
-
overlay
public VREventOverlay overlay()
Returns aVREventOverlay
view of theoverlay
field.
-
status
public VREventStatus status()
Returns aVREventStatus
view of thestatus
field.
-
keyboard
public VREventKeyboard keyboard()
Returns aVREventKeyboard
view of thekeyboard
field.
-
ipd
public VREventIpd ipd()
Returns aVREventIpd
view of theipd
field.
-
chaperone
public VREventChaperone chaperone()
Returns aVREventChaperone
view of thechaperone
field.
-
performanceTest
public VREventPerformanceTest performanceTest()
Returns aVREventPerformanceTest
view of theperformanceTest
field.
-
touchPadMove
public VREventTouchPadMove touchPadMove()
Returns aVREventTouchPadMove
view of thetouchPadMove
field.
-
seatedZeroPoseReset
public VREventSeatedZeroPoseReset seatedZeroPoseReset()
Returns aVREventSeatedZeroPoseReset
view of theseatedZeroPoseReset
field.
-
screenshot
public VREventScreenshot screenshot()
Returns aVREventScreenshot
view of thescreenshot
field.
-
screenshotProgress
public VREventScreenshotProgress screenshotProgress()
Returns aVREventScreenshotProgress
view of thescreenshotProgress
field.
-
applicationLaunch
public VREventApplicationLaunch applicationLaunch()
Returns aVREventApplicationLaunch
view of theapplicationLaunch
field.
-
cameraSurface
public VREventEditingCameraSurface cameraSurface()
Returns aVREventEditingCameraSurface
view of thecameraSurface
field.
-
messageOverlay
public VREventMessageOverlay messageOverlay()
Returns aVREventMessageOverlay
view of themessageOverlay
field.
-
property
public VREventProperty property()
Returns aVREventProperty
view of theproperty
field.
-
dualAnalog
public VREventDualAnalog dualAnalog()
Returns aVREventDualAnalog
view of thedualAnalog
field.
-
hapticVibration
public VREventHapticVibration hapticVibration()
Returns aVREventHapticVibration
view of thehapticVibration
field.
-
webConsole
public VREventWebConsole webConsole()
Returns aVREventWebConsole
view of thewebConsole
field.
-
inputBinding
public VREventInputBindingLoad inputBinding()
Returns aVREventInputBindingLoad
view of theinputBinding
field.
-
actionManifest
public VREventInputActionManifestLoad actionManifest()
Returns aVREventInputActionManifestLoad
view of theactionManifest
field.
-
spatialAnchor
public VREventSpatialAnchor spatialAnchor()
Returns aVREventSpatialAnchor
view of thespatialAnchor
field.
-
create
public static VREventData create(long address)
Returns a newVREventData
instance 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.Buffer
instance 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()
.
-
-