Accessing an Asset

The resolveAsset() method must be implemented in order for Katana to gain access to the asset itself.

It takes an Asset ID as its first argument and returns a string containing a file path to the asset. This handle is a path to a file that can be read from and written to.

Note:  An Asset plug-in must not attempt to use any NodegraphAPI, user interface, or callback modules when resolving an Asset ID. This is because Asset ID resolution occurs at render time, when these modules are not available. Reading from the scene graph while writing to it results in undefined behavior.