MeiCam SDK For iOS
3.14.0
|
effect class. More...
#import <NvsFx.h>
Instance Methods | |
(void) | - setIntVal:val: |
Set the integer parameter of NvsFx. More... | |
(int) | - getIntVal: |
Get the integer parameter of NvsFx. More... | |
(void) | - setIntValAtTime:val:time: |
Set the NvsFx's integer parameter at a specified time point. More... | |
(int) | - getIntValAtTime:time: |
Get the NvsFx's integer parameter at a specified time point. More... | |
(void) | - setFloatVal:val: |
Set the float parameter of NvsFx. More... | |
(double) | - getFloatVal: |
Get the float parameter of NvsFx. More... | |
(void) | - setFloatValAtTime:val:time: |
Set the NvsFx's float parameter at a specified time point. More... | |
(double) | - getFloatValAtTime:time: |
Get the NvsFx's float parameter at a specified time point. More... | |
(void) | - setBooleanVal:val: |
Set the BOOL parameter of NvsFx. More... | |
(BOOL) | - getBooleanVal: |
Get the BOOL parameter of NvsFx. More... | |
(void) | - setBooleanValAtTime:val:time: |
Set the NvsFx’s BOOL parameter at a specified time point. More... | |
(BOOL) | - getBooleanValAtTime:time: |
Get the NvsFx's BOOL parameter at a specified time point. More... | |
(void) | - setStringVal:val: |
Set the string parameter of NvsFx. More... | |
(NSString *) | - getStringVal: |
Get the string parameter of NvsFx. More... | |
(void) | - setStringValAtTime:val:time: |
Set the NvsFx's string parameter at a specified time point. More... | |
(NSString *) | - getStringValAtTime:time: |
Get the NvsFx's string parameter at a specified time point. More... | |
(void) | - setColorVal:val: |
Set the color parameter of NvsFx. More... | |
(NvsColor) | - getColorVal: |
Get the color parameter of NvsFx. More... | |
(void) | - setColorValAtTime:val:time: |
Set the NvsFx's color parameter at a specified time point. More... | |
(NvsColor) | - getColorValAtTime:time: |
Get the NvsFx's color parameter at a specified time point. More... | |
(void) | - setPosition2DVal:val: |
Set the two dimentional coordinates parameter of NvsFx. More... | |
(NvsPosition2D) | - getPosition2DVal: |
Get the two dimentional coordinates parameter of NvsFx. More... | |
(void) | - setPosition2DValAtTime:val:time: |
Set the NvsFx's two dimentional coordinates parameter at a specified time point. More... | |
(NvsPosition2D) | - getPosition2DValAtTime:time: |
Get the NvsFx's two dimentional coordinates parameter at a specified time point. More... | |
(void) | - setPosition3DVal:val: |
Set the three dimentional coordinates parameter of NvsFx. More... | |
(NvsPosition3D) | - getPosition3DVal: |
Get the three dimentional coordinates parameter of NvsFx. More... | |
(void) | - setPosition3DValAtTime:val:time: |
Set the NvsFx's three dimentional coordinates parameter at a specified time point. More... | |
(NvsPosition3D) | - getPosition3DValAtTime:time: |
Get the NvsFx's three dimentional coordinates parameter at a specified time point. More... | |
(void) | - setMenuVal:val: |
Set the menu parameter of NvsFx. More... | |
(NSString *) | - getMenuVal: |
Get the menu parameter of NvsFx. More... | |
(void) | - setMenuValAtTime:val:time: |
Set the NvsFx's menu parameter at a specified time point. More... | |
(NSString *) | - getMenuValAtTime:time: |
Get the NvsFx menu parameter at a specified time point. More... | |
(void) | - setArbDataVal:val: |
Set custom data parameter value. More... | |
(NvsArbitraryData *) | - getArbDataVal: |
Get custom data parameter value. More... | |
(void) | - setArbDataValAtTime:val:time: |
Sets custom data parameter value. More... | |
(NvsArbitraryData *) | - getArbDataValAtTime:time: |
Get custom data parameter value at a specified time point. More... | |
(bool) | - removeKeyframeAtTime:time: |
Remove key frame at a specified time point from key frame list. More... | |
(bool) | - removeAllKeyframe: |
Remove all key frames from key frame list. More... | |
(bool) | - hasKeyframeList: |
Check whether the parameter has key frame list or not. More... | |
(int64_t) | - findKeyframeTime:time:flags: |
Get key frame at a specified time point. More... | |
(bool) | - setKeyFrameControlPoint:time:controlPointPair: |
Set key frame control point pair. More... | |
(NvsControlPointPair *) | - getKeyFrameControlPoint:time: |
Get key frame control point pair. More... | |
(bool) | - setKeyFrameControlPointMode:time:controlPointModePair: |
Set key frame control point mode pair. More... | |
(NvsControlPointModePair *) | - getKeyFrameControlPointMode:time: |
Get key frame control point mode pair. More... | |
(void) | - setFilterIntensity: |
Set the intensity of the filter. More... | |
(float) | - getFilterIntensity |
Get the intensity of the filter. More... | |
(void) | - setFilterMask: |
Set the mask of the filter. More... | |
(bool) | - getFilterMask |
Get the usage of the filter's mask. More... | |
(void) | - setRegional: |
Set whether the filter is regional. More... | |
(BOOL) | - getRegional |
Get whether the filter is regional. More... | |
(void) | - setIgnoreBackground: |
Set whether the regional filter ignores background. More... | |
(BOOL) | - getIgnoreBackground |
Get whether the regional filter ignores background. More... | |
(void) | - setInverseRegion: |
Set whether the regional filter inverses region. More... | |
(BOOL) | - getInverseRegion |
Get whether the regional filter inverses region. More... | |
(NSArray *) | - getRegion |
Get the region of this regional filter. More... | |
(void) | - setRegion: |
Set the region of this regional filter. More... | |
(NvsMaskRegionInfo *) | - getRegionInfo |
Get the mask region informations of the regional filter. More... | |
(void) | - setRegionInfo: |
Set the mask region informations of the regional filter. More... | |
(void) | - setRegionInfoAtTime:time: |
Set the regional filter's mask region informations at a specified time point. More... | |
(NvsMaskRegionInfo *) | - getRegionInfoAtTime: |
Get the the regional filter's mask region informations at a specified time. More... | |
(void) | - setRegionalFeatherWidth: |
Set the feather width of the regional filter. More... | |
(float) | - getRegionalFeatherWidth |
Get the feather width of the regional filter. More... | |
(void) | - setRegionalFeatherWidthAtTime:time: |
Set the regional filter's feather width at a specified time point. More... | |
(float) | - getRegionalFeatherWidthAtTime: |
Get the regional filter's feather width at a specified time point. More... | |
(void) | - setRegionCoordinateSystemType: |
Set the coordinate system of the region. More... | |
(int) | - getRegionCoordinateSystemType |
Get the coordinate system of the region. More... | |
(NvsParticleSystemContext *) | - getParticleSystemContext |
Get the particle effect context pointer.Please refer to NvsParticleSystemContext. More... | |
(NvsARFaceContext *) | - getARFaceContext |
Get face effect context pointer.Please refer to NvsARFaceContext. More... | |
(NvsPaintingEffectContext *) | - getPaintingEffectContext |
Get the particle effect context pointer.Please refer to NvsPaintingEffectContext. More... | |
(NvsARSceneManipulate *) | - getARSceneManipulate |
Get the AR scene operation pointer.Please refer to NvsARSceneManipulate. More... | |
(void) | - setExprVar:varValue: |
Set the value of the defined parameter in the expression. More... | |
(double) | - getExprVar: |
Get the value of the defined parameter in the expression. More... | |
(void) | - setColorExprVar:varValue: |
Set the color value of the defined parameter in the expression. More... | |
(NvsColor) | - getColorExprVar: |
Get the color value of the defined parameter in the expression. More... | |
(void) | - clearExprVar: |
Clear the value of the defined parameter in the expression and set it to the default value of 0. More... | |
(void) | - clearExprVarCtx |
Clear all parameter values defined in the expression and set them to the default value of 0. More... | |
![]() | |
(void) | - setAttachment:forKey: |
Adds an attachment to the NvsObject object to identify the object of the NvsObject or for other purposes. More... | |
(void) | - setTemplateAttachment:forKey: |
Adds additional template data to the NvsObject object to identify the NvsObject template object. More... | |
(NSObject *) | - getAttachment: |
Gets attached attachments. More... | |
(NSString *) | - getTemplateAttachment: |
Gets an template attachment to NvsObject. More... | |
Properties | |
NvsFxDescription * | description |
Special effect description. More... | |
effect class.
Effect class(NvsFx) is the basic class of different effect classes, include video effects(Video Fx), audio effects(Audio Fx), audio transition effects and video transition effects. In the SDK framework, effects are very important, as they are derived from the NvsFx class, with different kinds of effects. They can be added, removed or obtained from clips, timelines or tracks. Also, the effect class(NvsFx) provides different APIs to modify or obtain its parameters.
- (void) clearExprVar: | (NSString *) | varName |
Clear the value of the defined parameter in the expression and set it to the default value of 0.
varName | The parameter defined in the expression |
- (void) clearExprVarCtx |
Clear all parameter values defined in the expression and set them to the default value of 0.
- (int64_t) findKeyframeTime: | (NSString *) | fxParam | |
time: | (int64_t) | time | |
flags: | (int) | flags | |
Get key frame at a specified time point.
fxParam | The type of custom data parameter for the effect. |
time | time point (In microseconds). |
flags | flag of finding mode, Please refer to [KEY_FRAME_FIND_MODE]. |
Implemented in NvsCompoundCaption.
- (NvsArbitraryData *) getArbDataVal: | (NSString *) | fxParam |
Get custom data parameter value.
fxParam | The type of custom data parameter for the effect. |
- (NvsArbitraryData *) getArbDataValAtTime: | (NSString *) | fxParam | |
time: | (int64_t) | time | |
Get custom data parameter value at a specified time point.
fxParam | The type of custom data parameter for the effect. |
time | time point |
- (NvsARFaceContext *) getARFaceContext |
Get face effect context pointer.Please refer to NvsARFaceContext.
- (NvsARSceneManipulate *) getARSceneManipulate |
Get the AR scene operation pointer.Please refer to NvsARSceneManipulate.
- (BOOL) getBooleanVal: | (NSString *) | fxParam |
Get the BOOL parameter of NvsFx.
fxParam | The type of the NvsFx's BOOL parameter. Please refer to [NVS_PARAM_TYPE_BOOL]. |
- (BOOL) getBooleanValAtTime: | (NSString *) | fxParam | |
time: | (int64_t) | time | |
Get the NvsFx's BOOL parameter at a specified time point.
fxParam | The type of the NvsFx's BOOL parameter. Please refer to [NVS_PARAM_TYPE_BOOL]. |
time | time point (In microseconds). |
- (NvsColor) getColorExprVar: | (NSString *) | varName |
Get the color value of the defined parameter in the expression.
varName | The parameters defined in the expression |
- (NvsColor) getColorVal: | (NSString *) | fxParam |
Get the color parameter of NvsFx.
fxParam | The type of the NvsFx's color parameter. Please refer to [NVS_PARAM_TYPE_COLOR]. |
- (NvsColor) getColorValAtTime: | (NSString *) | fxParam | |
time: | (int64_t) | time | |
Get the NvsFx's color parameter at a specified time point.
fxParam | The type of the NvsFx's color parameter. Please refer to [NVS_PARAM_TYPE_COLOR]. |
time | point time (In microseconds). |
- (double) getExprVar: | (NSString *) | varName |
Get the value of the defined parameter in the expression.
varName | The parameters defined in the expression |
- (float) getFilterIntensity |
Get the intensity of the filter.
- (bool) getFilterMask |
- (double) getFloatVal: | (NSString *) | fxParam |
Get the float parameter of NvsFx.
fxParam | The type of the NvsFx's float parameter. Please refer to [NVS_PARAM_TYPE_FLOAT]. |
- (double) getFloatValAtTime: | (NSString *) | fxParam | |
time: | (int64_t) | time | |
Get the NvsFx's float parameter at a specified time point.
fxParam | The type of the NvsFx's float parameter. Please refer to [NVS_PARAM_TYPE_FLOAT]. |
time | time point (In microseconds). |
- (BOOL) getIgnoreBackground |
Get whether the regional filter ignores background.
- (int) getIntVal: | (NSString *) | fxParam |
- (int) getIntValAtTime: | (NSString *) | fxParam | |
time: | (int64_t) | time | |
- (BOOL) getInverseRegion |
Get whether the regional filter inverses region.
- (NvsControlPointPair*) getKeyFrameControlPoint: | (NSString *) | fxParam | |
time: | (int64_t) | time | |
Get key frame control point pair.
fxParam | The type of custom data parameter for the effect. |
time | time point (In microseconds). |
- (NvsControlPointModePair*) getKeyFrameControlPointMode: | (NSString *) | fxParam | |
time: | (int64_t) | time | |
Get key frame control point mode pair.
fxParam | The type of custom data parameter for the effect. |
time | time point (In microseconds). |
- (NSString *) getMenuVal: | (NSString *) | fxParam |
Get the menu parameter of NvsFx.
fxParam | The type of the NvsFx's menu parameter. Please refer to [NVS_PARAM_TYPE_MENU]. |
- (NSString *) getMenuValAtTime: | (NSString *) | fxParam | |
time: | (int64_t) | time | |
Get the NvsFx menu parameter at a specified time point.
fxParam | The type of the NvsFx's menu parameter. Please refer to [NVS_PARAM_TYPE_MENU]. |
time | time point (In microseconds). |
- (NvsPaintingEffectContext *) getPaintingEffectContext |
Get the particle effect context pointer.Please refer to NvsPaintingEffectContext.
- (NvsParticleSystemContext *) getParticleSystemContext |
Get the particle effect context pointer.Please refer to NvsParticleSystemContext.
- (NvsPosition2D) getPosition2DVal: | (NSString *) | fxParam |
Get the two dimentional coordinates parameter of NvsFx.
fxParam | The type of the NvsFx's two dimentional coordinates parameter. Please refer to [NVS_PARAM_TYPE_POSITION2D]. |
- (NvsPosition2D) getPosition2DValAtTime: | (NSString *) | fxParam | |
time: | (int64_t) | time | |
Get the NvsFx's two dimentional coordinates parameter at a specified time point.
fxParam | The type of the NvsFx's two dimentional coordinates parameter. Please refer to [NVS_PARAM_TYPE_POSITION2D]. |
time | time point (In microseconds). |
- (NvsPosition3D) getPosition3DVal: | (NSString *) | fxParam |
- (NvsPosition3D) getPosition3DValAtTime: | (NSString *) | fxParam | |
time: | (int64_t) | time | |
Get the NvsFx's three dimentional coordinates parameter at a specified time point.
fxParam | The type of the NvsFx's three dimentional coordinates parameter. Please refer to [NVS_PARAM_TYPE_POSITION3D]. |
time | current time (In microseconds). |
- (NSArray *) getRegion |
Get the region of this regional filter.
- (BOOL) getRegional |
Get whether the filter is regional.
- (float) getRegionalFeatherWidth |
Get the feather width of the regional filter.
- (float) getRegionalFeatherWidthAtTime: | (int64_t) | time |
Get the regional filter's feather width at a specified time point.
time | time point |
- (int) getRegionCoordinateSystemType |
Get the coordinate system of the region.
- (NvsMaskRegionInfo *) getRegionInfo |
Get the mask region informations of the regional filter.
- (NvsMaskRegionInfo *) getRegionInfoAtTime: | (int64_t) | time |
Get the the regional filter's mask region informations at a specified time.
- (NSString *) getStringVal: | (NSString *) | fxParam |
Get the string parameter of NvsFx.
fxParam | The type of the NvsFx's string parameter. Please refer to [NVS_PARAM_TYPE_STRING]. |
- (NSString *) getStringValAtTime: | (NSString *) | fxParam | |
time: | (int64_t) | time | |
Get the NvsFx's string parameter at a specified time point.
fxParam | The type of the NvsFx's string parameter. Please refer to [NVS_PARAM_TYPE_STRING]. |
time | time point (In microseconds). |
- (bool) hasKeyframeList: | (NSString *) | fxParam |
Check whether the parameter has key frame list or not.
fxParam | The type of custom data parameter for the effect. |
Implemented in NvsCompoundCaption.
- (bool) removeAllKeyframe: | (NSString *) | fxParam |
Remove all key frames from key frame list.
fxParam | The type of custom data parameter for the effect. |
Implemented in NvsCompoundCaption.
- (bool) removeKeyframeAtTime: | (NSString *) | fxParam | |
time: | (int64_t) | time | |
Remove key frame at a specified time point from key frame list.
fxParam | The type of custom data parameter for the effect. |
time | time point (In microseconds). |
Implemented in NvsCompoundCaption.
- (void) setArbDataVal: | (NSString *) | fxParam | |
val: | (NvsArbitraryData *) | val | |
Set custom data parameter value.
fxParam | The type of custom data parameter for the effect. |
val | custom arbitrary data. |
- (void) setArbDataValAtTime: | (NSString *) | fxParam | |
val: | (NvsArbitraryData *) | val | |
time: | (int64_t) | time | |
Sets custom data parameter value.
fxParam | The type of custom data parameter for the effect. |
time | current time (In microseconds). |
val | String. |
- (void) setBooleanVal: | (NSString *) | fxParam | |
val: | (BOOL) | val | |
Set the BOOL parameter of NvsFx.
fxParam | The type of the NvsFx's float parameter. Please refer to [NVS_PARAM_TYPE_BOOL]. |
val | BOOL value. |
- (void) setBooleanValAtTime: | (NSString *) | fxParam | |
val: | (BOOL) | val | |
time: | (int64_t) | time | |
Set the NvsFx’s BOOL parameter at a specified time point.
fxParam | The type of the NvsFx's BOOL parameter. Please refer to [NVS_PARAM_TYPE_BOOL]. |
val | BOOL value. |
time | time point (In microseconds). |
- (void) setColorExprVar: | (NSString *) | varName | |
varValue: | (NvsColor *) | color | |
Set the color value of the defined parameter in the expression.
varName | The parameters defined in the expression |
color | The color value of a parameter in the expression |
- (void) setColorVal: | (NSString *) | fxParam | |
val: | (NvsColor *) | val | |
Set the color parameter of NvsFx.
fxParam | The type of the NvsFx's color parameter. Please refer to [NVS_PARAM_TYPE_COLOR]. |
val | NvsColor Customized color object. |
- (void) setColorValAtTime: | (NSString *) | fxParam | |
val: | (NvsColor *) | val | |
time: | (int64_t) | time | |
Set the NvsFx's color parameter at a specified time point.
fxParam | The type of the NvsFx's color parameter. Please refer to [NVS_PARAM_TYPE_COLOR]. |
val | NvsColor Customized color object. |
time | point time (In microseconds). |
- (void) setExprVar: | (NSString *) | varName | |
varValue: | (double) | varValue | |
Set the value of the defined parameter in the expression.
varName | The parameters defined in the expression |
varValue | The value of a parameter in the expression |
- (void) setFilterIntensity: | (float) | intensity |
Set the intensity of the filter.
intensity | The degree of intensity of the filter, ranging from 0 to 1, with 0 means no effects and 1 means the default effects. |
- (void) setFilterMask: | (bool) | useMask |
Set the mask of the filter.
useMask | Whether use mask to limit the filter's region. |
- (void) setFloatVal: | (NSString *) | fxParam | |
val: | (double) | val | |
Set the float parameter of NvsFx.
fxParam | The type of the NvsFx's float parameter. Please refer to [NVS_PARAM_TYPE_FLOAT]. |
val | float value. |
- (void) setFloatValAtTime: | (NSString *) | fxParam | |
val: | (double) | val | |
time: | (int64_t) | time | |
Set the NvsFx's float parameter at a specified time point.
fxParam | The type of the NvsFx's float parameter. Please refer to [NVS_PARAM_TYPE_FLOAT]. |
val | float value. |
time | time point (In microseconds). |
- (void) setIgnoreBackground: | (BOOL) | isIgnoreBackground |
Set whether the regional filter ignores background.
isIgnoreBackground | Whether the regional filter ignores background. True means ignored, false means the opposite. |
- (void) setIntVal: | (NSString *) | fxParam | |
val: | (int) | val | |
Set the integer parameter of NvsFx.
fxParam | The type of the NvsFx's integer parameter. Please refer to NVS_PARAM_TYPE_INT. |
val | integer value. |
- (void) setIntValAtTime: | (NSString *) | fxParam | |
val: | (int) | val | |
time: | (int64_t) | time | |
Set the NvsFx's integer parameter at a specified time point.
fxParam | The type of the NvsFx's integer parameter. Please refer to NVS_PARAM_TYPE_INT. |
val | integer value. |
time | time point (In microseconds). |
- (void) setInverseRegion: | (BOOL) | isInverseRegion |
Set whether the regional filter inverses region.
isInverseRegion | Whether the regional filter inverses region. True means inversed, false means the opposite. |
- (bool) setKeyFrameControlPoint: | (NSString *) | fxParam | |
time: | (int64_t) | time | |
controlPointPair: | (NvsControlPointPair *) | controlPointPair | |
Set key frame control point pair.
fxParam | The type of custom data parameter for the effect. |
time | time point (In microseconds). |
controlPointPair | control point pair. |
- (bool) setKeyFrameControlPointMode: | (NSString *) | fxParam | |
time: | (int64_t) | time | |
controlPointModePair: | (NvsControlPointModePair *) | controlPointModePair | |
Set key frame control point mode pair.
fxParam | The type of custom data parameter for the effect. |
time | time point (In microseconds). |
controlPointModePair | control point mode pair. |
- (void) setMenuVal: | (NSString *) | fxParam | |
val: | (NSString *) | val | |
Set the menu parameter of NvsFx.
fxParam | The type of the NvsFx's menu parameter. Please refer to [NVS_PARAM_TYPE_MENU]. |
val | A string value. |
- (void) setMenuValAtTime: | (NSString *) | fxParam | |
val: | (NSString *) | val | |
time: | (int64_t) | time | |
Set the NvsFx's menu parameter at a specified time point.
fxParam | The type of the NvsFx's menu parameter. Please refer to [NVS_PARAM_TYPE_MENU]. |
val | string value. |
time | time point (In microseconds). |
- (void) setPosition2DVal: | (NSString *) | fxParam | |
val: | (NvsPosition2D *) | val | |
Set the two dimentional coordinates parameter of NvsFx.
fxParam | The type of the NvsFx's two dimentional coordinates parameter. Please refer to [NVS_PARAM_TYPE_POSITION2D]. |
val | Two dimentional coordinates object[NvsPosition2D]. |
- (void) setPosition2DValAtTime: | (NSString *) | fxParam | |
val: | (NvsPosition2D *) | val | |
time: | (int64_t) | time | |
Set the NvsFx's two dimentional coordinates parameter at a specified time point.
fxParam | The type of the NvsFx's two dimentional coordinates parameter. Please refer to [NVS_PARAM_TYPE_POSITION2D]. |
time | point time (In microseconds). |
val | Two dimentional coordinates object[NvsPosition2D]. |
- (void) setPosition3DVal: | (NSString *) | fxParam | |
val: | (NvsPosition3D *) | val | |
Set the three dimentional coordinates parameter of NvsFx.
fxParam | The type of the NvsFx's three dimentional coordinates parameter. Please refer to [NVS_PARAM_TYPE_POSITION3D]. |
val | Three dimentional coordinates object[NvsPosition3D]. |
- (void) setPosition3DValAtTime: | (NSString *) | fxParam | |
val: | (NvsPosition3D *) | val | |
time: | (int64_t) | time | |
Set the NvsFx's three dimentional coordinates parameter at a specified time point.
fxParam | The type of the NvsFx's three dimentional coordinates parameter. Please refer to [NVS_PARAM_TYPE_POSITION3D]. |
val | Three dimentional coordinates object[NvsPosition3D]. |
time | time point (In microseconds). |
- (void) setRegion: | (NSArray *) | region |
Set the region of this regional filter.
region | The effective region of this filter. It is composed with a series of points, which are in NDC coordinate system. |
- (void) setRegional: | (BOOL) | isRegional |
Set whether the filter is regional.
isRegional | Whether the filter is regional. True means regional, false means the opposite. |
- (void) setRegionalFeatherWidth: | (float) | featherWidth |
Set the feather width of the regional filter.
featherWidth | feather width of the regional filter |
- (void) setRegionalFeatherWidthAtTime: | (float) | featherWidth | |
time: | (int64_t) | time | |
Set the regional filter's feather width at a specified time point.
featherWidth | feather width of regional filter |
time | time point |
- (void) setRegionCoordinateSystemType: | (int) | type |
Set the coordinate system of the region.
type | coordinate system type of the region, NDC as the default. |
- (void) setRegionInfo: | (NvsMaskRegionInfo *) | info |
Set the mask region informations of the regional filter.
info | the mask region informations of the filter. It could be series of points, cubic bezier curve or ellipse, which are in NDC coordinate system. |
- (void) setRegionInfoAtTime: | (NvsMaskRegionInfo *) | info | |
time: | (int64_t) | time | |
Set the regional filter's mask region informations at a specified time point.
info | mask region informations. It could be series of points, cubic bezier curve or ellipse, which are in NDC coordinate system. |
time | time point. |
- (void) setStringVal: | (NSString *) | fxParam | |
val: | (NSString *) | val | |
Set the string parameter of NvsFx.
fxParam | The type of the NvsFx's string parameter. Please refer to [NVS_PARAM_TYPE_STRING]. |
val | string value. |
- (void) setStringValAtTime: | (NSString *) | fxParam | |
val: | (NSString *) | val | |
time: | (int64_t) | time | |
Set the NvsFx's string parameter at a specified time point.
fxParam | The type of the NvsFx's string parameter. Please refer to [NVS_PARAM_TYPE_STRING]. |
val | string value. |
time | time point (In microseconds). |
|
readatomicassign |
Special effect description.