MeiCam SDK For Android  1.0.0
Public Member Functions | List of all members
com.meicam.sdk.NvsVideoFx Class Reference

Video effects. More...

Inheritance diagram for com.meicam.sdk.NvsVideoFx:
com.meicam.sdk.NvsFx com.meicam.sdk.NvsObject

Public Member Functions

int getVideoFxType ()
 Gets video effect's type. More...
 
int getIndex ()
 Gets video effect's index. More...
 
String getBuiltinVideoFxName ()
 Gets built-in video effect's name. More...
 
String getVideoFxPackageId ()
 Gets the video effect's resource package ID. More...
 
PointF mapPointFromCanonicalToParticleSystem (PointF ptCononical)
 将时间线坐标转换为粒子系统坐标 More...
 
- Public Member Functions inherited from com.meicam.sdk.NvsFx
NvsFxDescription getDescription ()
 Gets decription of Fx. More...
 
void setIntVal (String fxParam, int val)
 Sets the integer parameter of NvsFx. More...
 
int getIntVal (String fxParam)
 Gets the integer parameter of NvsFx. More...
 
void setFloatVal (String fxParam, double val)
 Sets the float parameter of NvsFx. More...
 
double getFloatVal (String fxParam)
 Gets the float parameter of NvsFx. More...
 
void setBooleanVal (String fxParam, boolean val)
 Sets the boolean parameter of NvsFx. More...
 
boolean getBooleanVal (String fxParam)
 Gets the boolean parameter of NvsFx. More...
 
void setStringVal (String fxParam, String val)
 Sets the string parameter of NvsFx. More...
 
String getStringVal (String fxParam)
 Gets the string parameter of NvsFx. More...
 
void setColorVal (String fxParam, NvsColor val)
 Sets the color parameter of NvsFx. More...
 
NvsColor getColorVal (String fxParam)
 Gets the color parameter of NvsFx. More...
 
void setPosition2DVal (String fxParam, NvsPosition2D val)
 Sets the two dimentional coordinates parameter of NvsFx. More...
 
NvsPosition2D getPosition2DVal (String fxParam)
 Gets the two dimentional coordinates parameter of NvsFx. More...
 
void setPosition3DVal (String fxParam, NvsPosition3D val)
 Sets the three dimentional coordinates parameter of NvsFx. More...
 
NvsPosition3D getPosition3DVal (String fxParam)
 Gets the three dimentional coordinates parameter of NvsFx. More...
 
void setMenuVal (String fxParam, String val)
 Sets the menu parameter of NvsFx. More...
 
String getMenuVal (String fxParam)
 Gets the menu parameter of NvsFx. More...
 
void setFilterIntensity (float intensity)
 Sets the intensity of the filter. More...
 
float getFilterIntensity ()
 Gets the intensity of the filter. More...
 
NvsParticleSystemContext getParticleSystemContext ()
 
NvsARFaceContext getARFaceContext ()
 
NvsPaintingEffectContext getPaintingEffectContext ()
 
NvsARSceneManipulate getARSceneManipulate ()
 获得NvsARSceneManipulate接口 More...
 
- Public Member Functions inherited from com.meicam.sdk.NvsObject
void setAttachment (String key, Object value)
 Adds additional data to the NvsObject object to identify the NvsObject object or for other purpose. More...
 
Object getAttachment (String key)
 Gets an attachment to NvsObject. More...
 

Static Public Attributes

Video effects type

static final int VIDEOFX_TYPE_BUILTIN = 0
 
static final int VIDEOFX_TYPE_PACKAGE = 1
 
static final int VIDEOFX_TYPE_CUSTOM = 2
 

Additional Inherited Members

- Protected Member Functions inherited from com.meicam.sdk.NvsObject
void setInternalObject (long internalObject)
 
long getInternalObject ()
 
- Protected Attributes inherited from com.meicam.sdk.NvsObject
long m_internalObject = 0
 

Detailed Description

Video effects.

The video effect is a special effect on the video clip, which can change the overall or partial color, brightness, transparency, etc. of the video image, so that the video can show a special effect. On Video Clip, users can add, remove, and get multiple video effects.

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

Member Function Documentation

String com.meicam.sdk.NvsVideoFx.getBuiltinVideoFxName ( )
inline

Gets built-in video effect's name.

Returns
Returns the name of the built-in video effect. If it is not a built-in video effect, the function returns a null string.
Since
1.7.0
int com.meicam.sdk.NvsVideoFx.getIndex ( )
inline

Gets video effect's index.

Returns
Returns the index number of the video effect.
String com.meicam.sdk.NvsVideoFx.getVideoFxPackageId ( )
inline

Gets the video effect's resource package ID.

Returns
Returns the video effect's resource package ID. If it is not a resource package video effect, the function returns a null string.
Since
1.7.0
int com.meicam.sdk.NvsVideoFx.getVideoFxType ( )
inline

Gets video effect's type.

Returns
Returns the video effect's type. Please refer to Video Effects Type.
Since
1.7.0
PointF com.meicam.sdk.NvsVideoFx.mapPointFromCanonicalToParticleSystem ( PointF  ptCononical)
inline

将时间线坐标转换为粒子系统坐标

Parameters
ptCononical时间线坐标
Returns
返回转换后的粒子系统坐标PointF对象
Since
1.16.0

Member Data Documentation

final int com.meicam.sdk.NvsVideoFx.VIDEOFX_TYPE_BUILTIN = 0
static
final int com.meicam.sdk.NvsVideoFx.VIDEOFX_TYPE_CUSTOM = 2
static
final int com.meicam.sdk.NvsVideoFx.VIDEOFX_TYPE_PACKAGE = 1
static

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