xrd-types

xrd-types

Types and Values

Includes

#include <xrd.h>

Description

Functions

Types and Values

XrdHoverEvent

typedef struct {
  graphene_point3d_t point;
  graphene_matrix_t  pose;
  float              distance;
  GxrController     *controller;
} XrdHoverEvent;

An event that gets emitted when a controller hovers a window.

Members

graphene_point3d_t point;

The point in 3D world space.

 

graphene_matrix_t pose;

A graphene_matrix_t pose.

 

float distance;

Distance from the controller.

 

GxrController *controller;

The controller the event was captured on.

 

XrdGrabEvent

typedef struct {
  graphene_matrix_t  pose;
  GxrController     *controller;
} XrdGrabEvent;

An event that gets emitted when a window get grabbed.

Members

graphene_matrix_t pose;

A graphene_matrix_t pose.

 

GxrController *controller;

The controller the event was captured on.