 |
Varjo Native SDK
|
|
Go to the documentation of this file.
11 #if defined __cplusplus
34 #define VARJO_LAST_EVENT varjo_EventType_WorldObjectDiscovery
151 #if defined __cplusplus
155 #endif // VARJO_EVENTS_H
int64_t varjo_TrackingStatus
Definition: Varjo_events.h:39
struct varjo_EventButton button
Button event data.
Definition: Varjo_events.h:125
static const varjo_HeadsetStatus varjo_HeadsetStatus_Disconnected
Headset is disconnected.
Definition: Varjo_events.h:46
Definition: Varjo_events.h:111
static const varjo_ButtonId varjo_ButtonId_Application
Button ID for application button on the headset.
Definition: Varjo_events.h:37
varjo_ButtonId buttonId
Id of the button.
Definition: Varjo_events.h:68
static const varjo_DisplayStatus varjo_DisplayStatus_ContextNotFound
Context display is not found.
Definition: Varjo_events.h:49
int64_t varjo_DisplayStatus
Definition: Varjo_events.h:48
varjo_CameraPropertyType type
Changed property. Value can be queried with varjo_MRGetCameraPropertyMode and varjo_MRGetCameraProper...
Definition: Varjo_events.h:100
struct varjo_EventWorldObjectDiscovery worldObjectDiscovery
World object discovery data.
Definition: Varjo_events.h:139
Definition: Varjo_events.h:79
#define VARJORUNTIME_DEPRECATED
Definition: Varjo_export.h:40
varjo_Bool onStandby
True if there are no consumers e.g. headset, analytics window and mirror view in VarjoBase of rendere...
Definition: Varjo_events.h:84
varjo_TrackingStatus status
Current tracking status.
Definition: Varjo_events.h:72
Definition: Varjo_events.h:95
varjo_HeadsetStatus status
Current headset status.
Definition: Varjo_events.h:76
static const varjo_EventType varjo_EventType_HeadsetStatus
Event for headset connection and disconnection.
Definition: Varjo_events.h:19
varjo_StreamId streamId
Stream id.
Definition: Varjo_events.h:104
int64_t varjo_EventType
Definition: Varjo_events.h:15
struct varjo_EventForeground foreground
Foreground status event data.
Definition: Varjo_events.h:132
static const varjo_DisplayStatus varjo_DisplayStatus_AllDisplaysFound
All displays found.
Definition: Varjo_events.h:51
int64_t varjo_CameraPropertyType
Camera property types that can be accessed to control video pass through cameras.
Definition: Varjo_types_mr.h:97
static const varjo_TrackingStatus varjo_TrackingStatus_Disconnected
Tracking disconnected.
Definition: Varjo_events.h:42
varjo_StreamId streamId
Stream id.
Definition: Varjo_events.h:108
static const varjo_HeadsetStatus varjo_HeadsetStatus_Connected
Headset is connected.
Definition: Varjo_events.h:45
int64_t varjo_HeadsetStatus
Definition: Varjo_events.h:44
Definition: Varjo_events.h:87
static const varjo_TrackingStatus varjo_TrackingStatus_Lost
No tracking data available.
Definition: Varjo_events.h:41
static const varjo_EventType varjo_EventType_StandbyStatus
Event for changes in standby status.
Definition: Varjo_events.h:23
Definition: Varjo_events.h:71
int32_t varjo_Bool
Definition: Varjo_types.h:140
struct varjo_EventHeader header
Event header.
Definition: Varjo_events.h:146
static const varjo_EventType varjo_EventType_TextureSizeChange
Event emitted when a texture size has changed.
Definition: Varjo_events.h:29
int8_t varjo_ButtonId
Definition: Varjo_events.h:36
varjo_Bool visible
Current visibility.
Definition: Varjo_events.h:63
struct varjo_EventStandbyStatus standbyStatus
Standby status event data.
Definition: Varjo_events.h:131
struct varjo_World * worldHandle
handle of the world emitting the event
Definition: Varjo_events.h:120
struct varjo_EventMRDeviceStatus mrDeviceStatus
Mixed reality device status event data.
Definition: Varjo_events.h:133
Definition: Varjo_events.h:83
union varjo_EventData data
Event data.
Definition: Varjo_events.h:147
static const varjo_EventType varjo_EventType_MRChromaKeyConfigChange
Event emitted when chroma key configuration has changed.
Definition: Varjo_events.h:30
varjo_Bool isForeground
Is the session on foreground.
Definition: Varjo_events.h:80
static const varjo_EventType varjo_EventType_VisibilityMeshChange
Event emitted when occlusion/visibility mesh has changed.
Definition: Varjo_events.h:31
static const varjo_MRDeviceStatus varjo_MRDeviceStatus_Connected
Mixed reality capable device is connected.
Definition: Varjo_events.h:54
struct varjo_EventVisibilityMeshChange visibilityMeshChange
Visibility mesh change data.
Definition: Varjo_events.h:138
varjo_MRDeviceStatus status
Is there a mixed reality capable device connected.
Definition: Varjo_events.h:96
struct varjo_EventDataStreamStop dataStreamStop
Data stream stop event data.
Definition: Varjo_events.h:136
struct varjo_EventHeadsetStatus headsetStatus
Headset status event data.
Definition: Varjo_events.h:127
static const varjo_TrackingStatus varjo_TrackingStatus_Ok
Tracking is ok.
Definition: Varjo_events.h:40
struct varjo_EventTrackingStatus trackingStatus
Tracking status event data.
Definition: Varjo_events.h:126
Definition: Varjo_events.h:123
Definition: Varjo_events.h:75
Event struct used for all the events by the event system.
Definition: Varjo_events.h:145
struct varjo_EventDataStreamStart dataStreamStart
Data stream start event data.
Definition: Varjo_events.h:135
varjo_Bool pressed
Is the button pressed down.
Definition: Varjo_events.h:67
struct varjo_EventTextureSizeChange textureSizeChange
Texture size change data.
Definition: Varjo_events.h:137
int64_t timestamp
Timestamp of the time when the event was issued.
Definition: Varjo_events.h:59
static const varjo_EventType varjo_EventType_WorldObjectDiscovery
Event for when a new object is added in varjo world.
Definition: Varjo_events.h:32
struct varjo_EventDisplayStatus displayStatus
Display status event data.
Definition: Varjo_events.h:128
static const varjo_EventType varjo_EventType_MRCameraPropertyChange
Event sent right after a camera property (e.g. exposure mode) change.
Definition: Varjo_events.h:26
static const varjo_EventType varjo_EventType_Foreground
Event for when application goes to background or foreground.
Definition: Varjo_events.h:24
varjo_TextureSize_Type_Mask typeMask
Bitmask of changed texture size types.
Definition: Varjo_events.h:112
struct varjo_EventMRCameraPropertyChange mrCameraPropertyChange
Camera property change event data.
Definition: Varjo_events.h:134
Definition: Varjo_events.h:115
int64_t varjo_StreamId
Stream ID to identify a data stream configuration.
Definition: Varjo_types_datastream.h:121
static const varjo_EventType varjo_EventType_TrackingStatus
Event that is received when there's a change in positional tracking state.
Definition: Varjo_events.h:18
varjo_EventType type
Type of the event.
Definition: Varjo_events.h:58
varjo_Bool onStandby
True if there are no consumers e.g. headset, analytics window and mirror view in VarjoBase of rendere...
Definition: Varjo_events.h:88
static const varjo_DisplayStatus varjo_DisplayStatus_FocusNotFound
Focus display is not found.
Definition: Varjo_events.h:50
static const varjo_EventType varjo_EventType_MRDeviceStatus
Event for determining whether mixed reality capable device is connected.
Definition: Varjo_events.h:25
VARJORUNTIME_DEPRECATED struct varjo_EventHeadsetStandbyStatus headsetStandbyStatus
Headset standby status event data.
Definition: Varjo_events.h:129
varjo_DisplayStatus status
Current display status.
Definition: Varjo_events.h:92
Definition: Varjo_events.h:119
static const varjo_EventType varjo_EventType_DataStreamStop
Event emitted when a data stream has stopped.
Definition: Varjo_events.h:28
Definition: Varjo_events.h:62
static const varjo_EventType varjo_EventType_Button
Button event that is received when a button is pressed or released.
Definition: Varjo_events.h:17
int64_t varjo_TextureSize_Type_Mask
Definition: Varjo_types.h:548
struct varjo_EventVisibility visibility
Visibility event data.
Definition: Varjo_events.h:124
static const varjo_EventType varjo_EventType_DisplayStatus
Event for changes in headset display connections. Eg. if cables are unplugged.
Definition: Varjo_events.h:20
static VARJORUNTIME_DEPRECATED const varjo_EventType varjo_EventType_HeadsetStandbyStatus
Event for changes in standby status.
Definition: Varjo_events.h:21
uint32_t viewIndex
viewIndex for which visibility/occlusion mesh is changed and should be re-queried.
Definition: Varjo_events.h:116
Definition: Varjo_events.h:107
int64_t varjo_MRDeviceStatus
Definition: Varjo_events.h:53
Definition: Varjo_events.h:91
static const varjo_MRDeviceStatus varjo_MRDeviceStatus_Disconnected
Mixed reality capable device is disconnected.
Definition: Varjo_events.h:55
static const varjo_EventType varjo_EventType_Visibility
Visibility event received when application being shown / hidden.
Definition: Varjo_events.h:16
Definition: Varjo_events.h:99
static const varjo_EventType varjo_EventType_DataStreamStart
Event emitted when a data stream has started.
Definition: Varjo_events.h:27
Definition: Varjo_events.h:103