美摄SDK For iOS  3.7.2
构造函数 | 属性 | 所有成员列表
NvsARSceneManipulate类 参考

AR场景处理接口 更多...

#import <NvsARSceneManipulate.h>

类 NvsARSceneManipulate 继承关系图:

构造函数

(void) - setDetectionMode:
 设置检测模式。 更多...
 
(void) - resetTracking
 重置跟踪。 更多...
 
(void) - resetSkinColor
 重置肤色。 更多...
 
(void) - setDetectionAutoProbe:
 设置是否自动探测人脸朝向。 更多...
 
(void) - setInternalObject:
 
(void) - setSoundVolumeGain:
 设置AR特效中音效音量 更多...
 
(float) - getSoundVolumeGain
 获取AR特效中音效音量 更多...
 
(void) - setMusicVolumeGain:
 设置AR特效中音乐音量 更多...
 
(float) - getMusicVolumeGain
 获取AR特效中音乐音量 更多...
 
(BOOL) - isFunctionAvailable:
 检查手机是否有某种特效的能力。 更多...
 
(void) - setDetectionForceInterval:
 强制检测帧间隔。 更多...
 
(void) - setDetectionInterval:
 检测帧间隔。 更多...
 

属性

id< NvsARSceneManipulateDelegatedelegate
 

详细描述

AR场景处理接口

警告
NvsARSceneManipulate类中,所有public API都在UI线程使用!!!

函数文档

◆ getMusicVolumeGain

- (float) getMusicVolumeGain

获取AR特效中音乐音量

返回
返回获取的音量
自从
3.8.0

◆ getSoundVolumeGain

- (float) getSoundVolumeGain

获取AR特效中音效音量

返回
返回获取的音量
自从
3.8.0

◆ isFunctionAvailable:

- (BOOL) isFunctionAvailable: (NvsToBeCheckedFunctionType)  functionType

检查手机是否有某种特效的能力。

参数
functionType特效能力的类型,比如:去油光等。

◆ resetSkinColor

- (void) resetSkinColor

重置肤色。

◆ resetTracking

- (void) resetTracking

重置跟踪。

◆ setDetectionAutoProbe:

- (void) setDetectionAutoProbe: (bool)  autoProbe

设置是否自动探测人脸朝向。

参数
autoProbe是否自动探测人脸朝向。

◆ setDetectionForceInterval:

- (void) setDetectionForceInterval: (int)  interval

强制检测帧间隔。

参数
interval,强制检测帧间隔。

◆ setDetectionInterval:

- (void) setDetectionInterval: (int)  interval

检测帧间隔。

参数
interval,检测帧间隔。

◆ setDetectionMode:

- (void) setDetectionMode: (NvsARSceneDetectionMode mode

设置检测模式。

参数
mode检测模式, 当前支持的检测模式请参见AR场景检测模式

◆ setInternalObject:

- (void) setInternalObject: (void *)  internalObject

◆ setMusicVolumeGain:

- (void) setMusicVolumeGain: (float)  volume

设置AR特效中音乐音量

参数
volume音量,取值范围[0, 1]
自从
3.8.0

◆ setSoundVolumeGain:

- (void) setSoundVolumeGain: (float)  volume

设置AR特效中音效音量

参数
volume音量,取值范围[0, 1]
自从
3.8.0

属性说明

◆ delegate

- (id<NvsARSceneManipulateDelegate>) delegate
readwritenonatomicweak

该类的文档由以下文件生成: