NOTE: CognitiveVR has been rebranded to Cognitive3D. Code references, methods, menus, and variables remain untouched.

Custom Events

Custom Events are the primary way Cognitive3D collects telemetry data (user events) from your product. Thse were called Transactions in previous versions of the SDK.

Custom Events automatically record x,y,z coordinates. If the position is not provided, it will use the position of the HMD. This allows us to map every single Custom Event to a specific point in your VR experience. In conjunction with visual telemetry (gaze tracking), coordinates gives you the ability to map out how your users are interacting with your product at a 3d space.

Custom Events

Custom Events are sent with a line of code:

new CognitiveVR.CustomEvent("Game Session Begin").Send();

new CognitiveVR.CustomEvent("ButtonActivated").Send(new Vector3());

new CognitiveVR.CustomEvent("Game Session End")
      .SetProperties(new Dictionary<string, object> {
        { "didUserWin", didWin },
        { "userScore", 5 }

Instrumentation.CustomEvent("Some Custom Event").Send();