Amazon VERSION 2.0V1 Uživatelská příručka Strana 210

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 264
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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
Zobrazit stránku 209
1 2 ... 205 206 207 208 209 210 211 212 213 214 215 ... 263 264

Komentáře k této Příručce

Žádné komentáře