  | 
  
    Varjo Native SDK
    
   | 
           
 | 
 
 
 
 
Go to the documentation of this file.
    8 #if defined __cplusplus 
  137 #if defined __cplusplus 
  141 #endif  // VARJO_WORLD_H 
  
 
int64_t varjo_Nanoseconds
Time in nanoseconds.
Definition: Varjo_types.h:147
 
int64_t varjo_WorldObjectId
A unique id for an object in varjo_World.
Definition: Varjo_types_world.h:30
 
void varjo_WorldDestroy(struct varjo_World *world)
Destroy a varjo_World instance.
 
Represents a pose of an object.
Definition: Varjo_types_world.h:84
 
struct varjo_World * varjo_WorldInit(struct varjo_Session *session, varjo_WorldFlags worldFlags)
Initialize a world.
 
int32_t varjo_Bool
Definition: Varjo_types.h:140
 
int64_t varjo_WorldObjectMarkerFlags
Configuration flags for markers.
Definition: Varjo_types_world.h:99
 
uint64_t varjo_WorldFlags
Configuration mask for varjo_WorldInit.
Definition: Varjo_types_world.h:15
 
Represents an object marker.
Definition: Varjo_types_world.h:126
 
Represents a single object in a varjo_World.
Definition: Varjo_types_world.h:48
 
varjo_Bool varjo_WorldGetObjectMarkerComponent(struct varjo_World *world, varjo_WorldObjectId id, struct varjo_WorldObjectMarkerComponent *component)
Get a object marker component.
 
int64_t varjo_WorldGetObjectCount(struct varjo_World *world, varjo_WorldComponentTypeMask typeMask)
Get the number of objects in the world.
 
void varjo_WorldSetObjectMarkerFlags(struct varjo_World *world, varjo_WorldMarkerId *ids, int64_t idCount, varjo_WorldObjectMarkerFlags flags)
Sets flags for specifed markers.
 
uint64_t varjo_WorldComponentTypeMask
Bit mask for filtering a World object.
Definition: Varjo_types_world.h:40
 
int64_t varjo_WorldMarkerId
Definition: Varjo_types_world.h:94
 
int64_t varjo_WorldGetObjects(struct varjo_World *world, struct varjo_WorldObject *objects, int64_t maxObjectCount, varjo_WorldComponentTypeMask typeMask)
Get a list of objects in the world.
 
varjo_Bool varjo_WorldGetPoseComponent(struct varjo_World *world, varjo_WorldObjectId id, struct varjo_WorldPoseComponent *component, varjo_Nanoseconds displayTime)
Get a pose component.
 
void varjo_WorldSync(struct varjo_World *world)
Sync all objects tracked in the world.
 
void varjo_WorldSetObjectMarkerTimeouts(struct varjo_World *world, varjo_WorldMarkerId *ids, int64_t idCount, varjo_Nanoseconds duration)
Sets a desired lifetime duration for specified markers.