| 
    美摄SDK For iOS
    3.7.2
    
   | 
 
采集视频特效 更多...
#import <NvsCaptureVideoFx.h>
  
属性 | |
| NvsCaptureVideoFxType | captureVideoFxType | 
| 采集视频特效类型  更多... | |
| NSString * | bultinCaptureVideoFxName | 
| 内嵌采集视频特效名字。如果不是内嵌采集视频特效返回nil  更多... | |
| NSString * | captureVideoFxPackageId | 
| 采集视频特效资源包ID。如果不是资源包采集视频特效返回nil  更多... | |
| unsigned int | index | 
| 视频特效索引  更多... | |
| int64_t | offsetPoint | 
| 特效偏移时间(单位微秒)  更多... | |
| int64_t | duration | 
| 特效的持续时间(单位微秒)  更多... | |
  属性 继承自 NvsFx | |
| NvsFxDescription * | description | 
| 特效描述  更多... | |
采集视频特效
采集视频特效是一种应用在视频采集时的特效。获取流媒体上下文(Streaming Context)实例后,可按内建方式,包裹方式,美颜方式来添加或移除多个采集视频特效。
| - (int64_t) changeDuration: | (int64_t) | newOutPoint | 
改变特效持续时间
| newOutPoint | 特效新的期望持续时间(单位微秒) | 
| - (int64_t) changeOffsetPoint: | (int64_t) | newOffset | 
改变特效的相对偏移时间
| newInPoint | 新的相对偏移时间(单位微秒) | 
| - (CGPoint) mapPointFromImageCoordToParticleSystemCoord: | (int) | imageWidth | |
| withHeight: | (int) | imageHeight | |
| withPtImage: | (CGPoint) | ptImage | |
将采集画面坐标转换为粒子系统坐标
| imageWidth | 采集画面宽度 | 
| imageHeight | 采集画面高度 | 
| ptImage | 时间线坐标 | 
| - (void) resetStartTime | 
重置特效的起始时间
| - (void) setStartTime: | (int64_t) | startTime | 
设置特效的起始时间
| startTime | 起始时间 | 
      
  | 
  readatomicassign | 
内嵌采集视频特效名字。如果不是内嵌采集视频特效返回nil
      
  | 
  readatomicassign | 
采集视频特效资源包ID。如果不是资源包采集视频特效返回nil
      
  | 
  readatomicassign | 
采集视频特效类型
      
  | 
  readatomicassign | 
特效的持续时间(单位微秒)
      
  | 
  readatomicassign | 
视频特效索引
      
  | 
  readatomicassign | 
特效偏移时间(单位微秒)
 1.8.18