TuSDKMediaEffectParameterProtocol Protocol Reference
Conforms to | NSObject |
---|---|
Declared in | TuSDKMediaEffectParameterProtocol.h |
– filterArgs
required method
获取所有可调节的滤镜参数
- (NSArray<TuSDKFilterArg*> *)filterArgs
Return Value
NSArray
Availability
v2.2.0
Declared In
TuSDKMediaEffectParameterProtocol.h
– argWithKey:
required method
获取滤镜参数
- (TuSDKFilterArg *)argWithKey:(NSString *)key
Parameters
key |
参数键名 |
---|
Return Value
滤镜参数
Availability
v3.0.1
Declared In
TuSDKMediaEffectParameterProtocol.h
– submitParameter:argPrecent:
required method
改变滤镜参数
- (void)submitParameter:(NSUInteger)paramIndex argPrecent:(CGFloat)precent
Parameters
paramIndex |
参数索引 |
---|---|
precent |
参数值 |
Availability
v2.2.0
Declared In
TuSDKMediaEffectParameterProtocol.h
– submitParameterWithKey:argPrecent:
required method
改变滤镜参数
- (void)submitParameterWithKey:(NSString *)paramKey argPrecent:(CGFloat)precent
Parameters
paramKey |
参数 key |
---|---|
precent |
参数值 |
Availability
v3.0.1
Declared In
TuSDKMediaEffectParameterProtocol.h
– submitParameters
required method
提交滤镜参数
- (void)submitParameters
Availability
v2.2.0
Declared In
TuSDKMediaEffectParameterProtocol.h
– resetParameters
required method
重置参数
- (void)resetParameters
Availability
v3.1.2
Declared In
TuSDKMediaEffectParameterProtocol.h