|
Varjo Native SDK
|
|
Go to the documentation of this file.
8 #if defined __cplusplus
127 #if defined __cplusplus
131 #endif // VARJO_WORLD_H
int64_t varjo_Nanoseconds
Time in nanoseconds.
Definition: Varjo_types.h:141
int64_t varjo_WorldObjectId
A unique id for an object in varjo_World.
Definition: Varjo_types_world.h:24
void varjo_WorldDestroy(struct varjo_World *world)
Destroy a varjo_World instance.
Represents a pose of an object.
Definition: Varjo_types_world.h:55
struct varjo_World * varjo_WorldInit(struct varjo_Session *session, varjo_WorldFlags worldFlags)
Initialize a world.
int32_t varjo_Bool
Definition: Varjo_types.h:134
int64_t varjo_WorldObjectMarkerFlags
Definition: Varjo_types_world.h:67
uint64_t varjo_WorldFlags
Definition: Varjo_types_world.h:15
Represents an object marker.
Definition: Varjo_types_world.h:86
Represents a single object in a varjo_World.
Definition: Varjo_types_world.h:34
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
Definition: Varjo_types_world.h:26
int64_t varjo_WorldMarkerId
Definition: Varjo_types_world.h:65
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.