Fove SDK  v1.3.1
Public Attributes | List of all members
Fove_GazableObject Struct Reference

Represents an object in a 3D world. More...

#include <FoveAPI.h>

Collaboration diagram for Fove_GazableObject:
Collaboration graph
[legend]

Public Attributes

unsigned int colliderCount = 0
 The number of collider shapes defining this object.
 
Fove_ObjectCollidercolliders = nullptr
 An array of colliders defining the geometry of the gazable object.
 
Fove_ObjectGroup group = Fove_ObjectGroup::Group0
 The gazable object group this object belongs to.
 
int id = fove_ObjectIdInvalid
 Unique ID of the object. User-defined objects should use positive integers.
 
Fove_ObjectPose pose = {}
 The initial pose of the object.
 

Detailed Description

Represents an object in a 3D world.

The bounding shapes of this object are used for ray casts to determine what the user is looking at. Note that multiple bounding shape types can be used simultaneously, such as a sphere and a mesh.

See also
fove_Headset_registerGazableObject
fove_Headset_removeGazableObject
fove_Headset_updateGazableObject