Amazon VERSION 2.0V1 Guide de l'utilisateur Page 210

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 264
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 209
210
kAssetContextLiveGroup.
kAssetContextImage.
kAssetContextLookFile.
kAssetContextLookFileMgrSettings.
kAssetContextAlembic.
kAssetContextScenegraphXml.
kAssetContextCastingSheet.
kAssetContextAttributeFile.
kAssetContextFCurveFile.
kAssetContextGafferRig.
kAssetContextScenegraphBookmarks.
kAssetContextShader.
kAssetContextCatalog.
kAssetContextFarm.
A constant to hold the relationship between assets has been added. This constant is used when the
getRelatedAssetId() function is called:
kAssetRelationArgsFile.
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 which 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 will result in undefined
behavior.
Additional Methods
In addition to the core methods that need to be implemented by an Asset plug-in there are additional methods,
many of which are variants.
27 ASSET MANAGEMENT SYSTEM PLUG-IN API | ACCESSING AN ASSET
Vue de la page 209
1 2 ... 205 206 207 208 209 210 211 212 213 214 215 ... 263 264

Commentaires sur ces manuels

Pas de commentaire