TuSDKMediaTransitionEffect Class Reference

Inherits from TuSDKMediaEffectCore : NSObject
Declared in TuSDKMediaTransitionEffect.h

Overview

视频转场特效

– initWithTransitionType:

初始化转场特效

- (instancetype)initWithTransitionType:(TuSDKMediaTransitionType)transitionType

Parameters

transitionType

转场类型

Return Value

转场特效

Availability

v3.4.1

Declared In

TuSDKMediaTransitionEffect.h

– initWithTransitionType:atTimeRange:

初始化转场特效

- (instancetype)initWithTransitionType:(TuSDKMediaTransitionType)transitionType atTimeRange:(nullable TuSDKTimeRange *)timeRange

Parameters

transitionType

转场类型

timeRange

生效时间

Return Value

转场特效

Availability

v3.4.1

Declared In

TuSDKMediaTransitionEffect.h

  transitionType

当前转场类型

@property (nonatomic, assign, readonly) TuSDKMediaTransitionType transitionType

Availability

v3.4.1

Declared In

TuSDKMediaTransitionEffect.h

  animationDuration

动画持续时长(单位毫秒): 默认1.0s, 即1.0*1000

@property (nonatomic, assign) GLfloat animationDuration

Availability

v3.4.1

Declared In

TuSDKMediaTransitionEffect.h

  interFrameAnim

设置动画起始位置是否为帧间动画 YES:前后帧动画 NO:帧内动画

@property (nonatomic, assign) BOOL interFrameAnim

Availability

v3.4.1

Declared In

TuSDKMediaTransitionEffect.h