OpenXRFbSpatialEntityBatch
Inherits: RefCounted
Used to batch save or share spatial entities.
Description
Used to batch save or share a collection of OpenXRFbSpatialEntitys in a single operation.
Properties
|
Methods
create_batch ( OpenXRFbSpatialEntity[] entities ) static |
|
void |
save_to_storage ( StorageLocation location ) |
void |
share_with_users ( OpenXRFbSpatialEntityUser[] users ) |
Signals
openxr_fb_spatial_entity_batch_saved ( bool succeeded, int location )
Emitted when the save operation has completed. See save_to_storage.
Emitted when the share operation has completed. See share_with_users.
Property Descriptions
OpenXRFbSpatialEntity[] entities = []
OpenXRFbSpatialEntity[] get_entities ( )
The spatial entities in this batch.
Method Descriptions
OpenXRFbSpatialEntityBatch create_batch ( OpenXRFbSpatialEntity[] entities ) static
Create a batch of OpenXRFbSpatialEntity objects.
void save_to_storage ( StorageLocation location )
Saves all the spatial entities in this batch to the given storage location as a single operation.
This is an asynchronous operation - the openxr_fb_spatial_entity_batch_saved signal will be emitted when completed with an argument indicating if it was successful or not.
Shares all the spatial entities in this batch with the given users in a single operation.
This is an asynchronous operation - the openxr_fb_spatial_entity_batch_shared signal will be emitted when completed with an argument indicating if it was successful or not.