vrAssetsService¶
-
class
vrAssetsService
¶
(Inherits vrBaseService
)
This service is used to work with assets.
Summary¶
Functions¶
-
vrAssetsService.
loadGeometriesByUUID
(uuids, parentNode=vrdNode())¶ Loads geometry assets with the given asset UUIDs and adds them to the scene.
Parameters: - uuids (List[string]) – List of asset UUIDs. You can lookup the UUID of an asset in its xml file.
- parentNode (vrdNode) – Parent node to which the asset nodes are added. If not given, nodes will be added to the scenegraph root node.
Returns: The created asset root nodes
Return type: List[vrdNode]
-
vrAssetsService.
loadMetadataSetsByUUID
(uuids)¶ Loads metadata sets with the given asset UUIDs and adds them to the scene.
Parameters: uuids (List[string]) – List of asset UUIDs. You can lookup the UUID of an asset in its xml file. Returns: The created metadata sets Return type: List[vrdMetadataSet]
-
vrAssetsService.
loadSceneplatesByUUID
(uuids, parentNode=vrdNode())¶ Loads sceneplate assets with the given asset UUIDs and adds them to the scene.
Parameters: - uuids (List[string]) – List of asset UUIDs. You can lookup the UUID of an asset in its xml file.
- parentNode (vrdNode) – Parent node to which the asset nodes are added. If not given, nodes will be added to the sceneplate root node.
Returns: The created sceneplate asset nodes
Return type: List[vrdNode]