MeiCam SDK For iOS  3.14.0
Instance Methods | Properties | List of all members
NvsARSceneManipulate Class Reference

AR scene processing interface. More...

#import <NvsARSceneManipulate.h>

Inheritance diagram for NvsARSceneManipulate:

Instance Methods

(void) - setDetectionMode:
 Set detection mode. More...
 
(void) - resetTracking
 Reset tracking. More...
 
(void) - resetSkinColor
 Reset skin color. More...
 
(void) - setDetectionAutoProbe:
 Set automatically probe face orientation or not. More...
 
(void) - setInternalObject:
 
(void) - setDisableDetectionSmooth:
 Set disable detection smooth or not. More...
 
(void) - setSoundVolumeGain:
 Sets sound volume in AR. More...
 
(float) - getSoundVolumeGain
 Gets sound volume in AR. More...
 
(void) - setMusicVolumeGain:
 Sets music volume in AR. More...
 
(float) - getMusicVolumeGain
 Gets sound volume in AR. More...
 
(BOOL) - isFunctionAvailable:
 The ability to check the phone for certain special effects. More...
 
(void) - setFaceLandmarkConfidenceThresh:
 Face Landmark confidence threshold. More...
 
(void) - setFaceConfidenceThresh:
 Set face landmark confidence thresh. More...
 
(void) - setDetectionForceInterval:
 Set Detection Force Interval. More...
 
(void) - setDetectionInterval:
 Set Detection Interval. More...
 

Properties

id< NvsARSceneManipulateDelegatedelegate
 

Detailed Description

AR scene processing interface.

Warning
In the NvsARSceneManipulate class, all public APIs are used in the UI thread! ! !

Method Documentation

◆ getMusicVolumeGain

- (float) getMusicVolumeGain

Gets sound volume in AR.

Returns
Returns the music volume.
Since
3.8.0

◆ getSoundVolumeGain

- (float) getSoundVolumeGain

Gets sound volume in AR.

Returns
Returns the sound volume.
Since
3.8.0

◆ isFunctionAvailable:

- (BOOL) isFunctionAvailable: (NvsToBeCheckedFunctionType)  functionType

The ability to check the phone for certain special effects.

Parameters
functionTypeType of special effects ability, such as: degreasing, etc.

◆ resetSkinColor

- (void) resetSkinColor

Reset skin color.

◆ resetTracking

- (void) resetTracking

Reset tracking.

◆ setDetectionAutoProbe:

- (void) setDetectionAutoProbe: (bool)  autoProbe

Set automatically probe face orientation or not.

Parameters
autoProbeautomatically probe or not.

◆ setDetectionForceInterval:

- (void) setDetectionForceInterval: (int)  interval

Set Detection Force Interval.

Parameters
interval,detectintervel.

◆ setDetectionInterval:

- (void) setDetectionInterval: (int)  interval

Set Detection Interval.

Parameters
interval,detectintervel.

◆ setDetectionMode:

- (void) setDetectionMode: (NvsARSceneDetectionMode mode

Set detection mode.

Parameters
modedetection mode, for all supported mode, please refer to [ARSCENE_DETECTION_MODE].

◆ setDisableDetectionSmooth:

- (void) setDisableDetectionSmooth: (BOOL)  disable

Set disable detection smooth or not.

Parameters
disabledisable or not.

◆ setFaceConfidenceThresh:

- (void) setFaceConfidenceThresh: (float)  thresh

Set face landmark confidence thresh.

Parameters
threshrange[0-1], Default is 0.0。

◆ setFaceLandmarkConfidenceThresh:

- (void) setFaceLandmarkConfidenceThresh: (float)  thresh

Face Landmark confidence threshold.

Parameters
thresh阈值 默认0.

◆ setInternalObject:

- (void) setInternalObject: (void *)  internalObject

◆ setMusicVolumeGain:

- (void) setMusicVolumeGain: (float)  volume

Sets music volume in AR.

Parameters
volumevolume value, value range [0, 1].
Since
3.8.0

◆ setSoundVolumeGain:

- (void) setSoundVolumeGain: (float)  volume

Sets sound volume in AR.

Parameters
volumevolume value, value range [0, 1].
Since
3.8.0

Property Documentation

◆ delegate

- (id<NvsARSceneManipulateDelegate>) delegate
readwritenonatomicweak

The documentation for this class was generated from the following file: