Spelunx Cavern SDK
 
Loading...
Searching...
No Matches
OVRT_Events.cs
Go to the documentation of this file.
1using System;
2using UnityEngine;
3using UnityEngine.Events;
4using Valve.VR;
5
6namespace Spelunx.Vive
7{
8 public static class OVRT_Events
9 {
10 public static UnityEvent<int, bool> TrackedDeviceConnected = new UnityEvent<int, bool>();
11
12 public static UnityEvent<int> TrackedDeviceRoleChanged = new UnityEvent<int>();
13
14 public static UnityEvent<TrackedDevicePose_t[]> NewPoses = new UnityEvent<TrackedDevicePose_t[]>();
15 public static UnityEvent<string, TrackedDevicePose_t, int> NewBoundPose = new UnityEvent<string, TrackedDevicePose_t, int>();
16
17 public static UnityEvent<int, EVRButtonId, bool> ButtonPressed = new UnityEvent<int, EVRButtonId, bool>();
18
19 public static UnityEvent TrackerRolesChanged = new UnityEvent();
20
21 public static UnityEvent<bool> HideRenderModelsChanged = new UnityEvent<bool>();
22 public static UnityEvent ModelSkinSettingsHaveChanged = new UnityEvent();
23
24 public static UnityEvent<OVRT_RenderModel, bool> RenderModelLoaded = new UnityEvent<OVRT_RenderModel, bool>();
25 }
26}
static UnityEvent< int > TrackedDeviceRoleChanged
Definition: OVRT_Events.cs:12
static UnityEvent< int, bool > TrackedDeviceConnected
Definition: OVRT_Events.cs:10
static UnityEvent TrackerRolesChanged
Definition: OVRT_Events.cs:19
static UnityEvent< OVRT_RenderModel, bool > RenderModelLoaded
Definition: OVRT_Events.cs:24
static UnityEvent ModelSkinSettingsHaveChanged
Definition: OVRT_Events.cs:22
static UnityEvent< TrackedDevicePose_t[]> NewPoses
Definition: OVRT_Events.cs:14
static UnityEvent< string, TrackedDevicePose_t, int > NewBoundPose
Definition: OVRT_Events.cs:15
static UnityEvent< bool > HideRenderModelsChanged
Definition: OVRT_Events.cs:21
static UnityEvent< int, EVRButtonId, bool > ButtonPressed
Definition: OVRT_Events.cs:17