AliyunAETemplateAsset

@interface AliyunAETemplateAsset : NSObject

模板素材 API_AVAILABLE(3.35.0)

  • key

    key

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly) NSString *_Nonnull key;
  • 索引

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSInteger index;
  • 播放时间段,可能出现多次

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly) NSArray<AliyunAETemplateAssetTimeRange *> *_Nonnull timeRanges;
  • 素材出现时长,通过对timeRanges的每个时间段进行累加计算

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSTimeInterval duration;
  • 素材在AE编辑时指定的渲染区域

    Declaration

    Objective-C

    @property (nonatomic, readonly) CGRect editRect;
  • 素材在AE编辑执行变换指定的锚点[0.1],默认[0.5, 0.5]

    Declaration

    Objective-C

    @property (nonatomic, readonly) CGPoint editAnchor;
  • 素材在AE编辑时指定的变换

    Declaration

    Objective-C

    @property (nonatomic, readonly) CGAffineTransform editTransform;