标签:
有一部分属于类型标志,比如调节层,空对象层。用mSuites->LayerSuite7()->AEGP_GetLayerFlags去取
而灯光,文字这些信息,直接取类型即可
mSuites->LayerSuite7()->AEGP_GetLayerObjectType
enum { AEGP_ObjectType_NONE = -1, AEGP_ObjectType_AV, /* Includes all pre-AE 5.0 layer types (audio or video source, including adjustment layers) */ AEGP_ObjectType_LIGHT, AEGP_ObjectType_CAMERA, AEGP_ObjectType_TEXT, AEGP_ObjectType_VECTOR, AEGP_ObjectType_NUM_TYPES }; typedef A_long AEGP_ObjectType;
如果判断是合成还是固态层,要去ItemSuite里去取
enum { AEGP_ItemType_NONE, AEGP_ItemType_FOLDER, AEGP_ItemType_COMP, AEGP_ItemType_SOLID_defunct, // as of AE6, solids are now just AEGP_ItemType_FOOTAGE with AEGP_FootageSignature_SOLID AEGP_ItemType_FOOTAGE, AEGP_ItemType_NUM_TYPES1 }; typedef A_short AEGP_ItemType;
标签:
原文地址:http://www.cnblogs.com/hont/p/4200699.html