Skip to content

getUniqueScenegraphLocationFromAssetId

Peter Shinners edited this page Apr 13, 2021 · 5 revisions
void  getUniqueScenegraphLocationFromAssetId(const std::string& assetId,
              bool includeVersion, std::string& ret)
  • @param assetId Input asset id to represent as scenegraph location path.
  • @param includeVersion allows to specify if the scenegraph location path should contain the asset version
  • @param ret Set to scenegraph location path.

Return a valid scenegraph location path that uniquely represents the input asset id.

This will be used as the default location for look file materials loaded into the Katana scene, for example. (Example: /name/version/other/fields).

includeVersion specifies the scenegraph location path should contain the asset version.

Provides a scene graph path for an asset, as a string, so that it can be placed easily in the Scene Graph tab, and is currently used by the LookFileManager.

Args: assetId (str) : String to evaluate includeVersion (bool) : Scenegraph path should include version

Returns: (str)

Clone this wiki locally