MeiCam SDK For Android
1.0.0
|
Special effect. More...
Public Member Functions | |
NvsFxDescription | getDescription () |
Gets the description of the Effect. More... | |
void | setIntVal (String fxParam, int val) |
Sets the integer parameter value of the effect. More... | |
int | getIntVal (String fxParam) |
Gets the integer parameter value of the effect. More... | |
void | setFloatVal (String fxParam, double val) |
Sets the float parameter value of the effect. More... | |
double | getFloatVal (String fxParam) |
Gets the float parameter value of the effect. More... | |
void | setBooleanVal (String fxParam, boolean val) |
Sets the Boolean parameter value of the effect. More... | |
boolean | getBooleanVal (String fxParam) |
Gets the Boolean parameter value of the effect. More... | |
void | setStringVal (String fxParam, String val) |
Sets the string parameter value of the effect. More... | |
String | getStringVal (String fxParam) |
Gets the string parameter value of the effect. More... | |
void | setColorVal (String fxParam, NvsColor val) |
Sets the color parameter value of the effect. More... | |
NvsColor | getColorVal (String fxParam) |
Gets the color parameter value of the effect. More... | |
void | setPosition2DVal (String fxParam, NvsPosition2D val) |
Sets the 2D coordinates parameter value of the effect. More... | |
NvsPosition2D | getPosition2DVal (String fxParam) |
Gets the 2D coordinates parameter value of the effect. More... | |
void | setPosition3DVal (String fxParam, NvsPosition3D val) |
Sets the 3D coordinates parameter value of the effect. More... | |
NvsPosition3D | getPosition3DVal (String fxParam) |
Gets the 3D coordinates parameter value of the effect. More... | |
void | setMenuVal (String fxParam, String val) |
Sets the menu parameter value of the effect. More... | |
String | getMenuVal (String fxParam) |
Gets the menu parameter value of the effect. More... | |
void | setArbDataVal (String fxParam, NvsArbitraryData val) |
Sets custom data parameter value. More... | |
void | setFilterIntensity (float intensity) |
Sets the intensity of the filter. More... | |
float | getFilterIntensity () |
Gets the intensity of the filter. More... | |
void | release () |
Releases internal resources. More... | |
NvsParticleSystemContext | getParticleSystemContext () |
NvsPaintingEffectContext | getPaintingEffectContext () |
Protected Member Functions | |
void | setInternalObject (long internalObject) |
long | getInternalObject () |
void | finalize () throws Throwable |
Special effect.
Special effects are the basic types of different types of effects such as Video Fx, Audio Fx, Audio Transition, and Video Transition. Special effects are a key part of the SDK framework. Effects derived from NvsEffect class can be added, removed, and retrieved via clip instance, timeline instance, or track instance. At the same time, different API interfaces are provided in the special effects class to set and get the effect parameter types.
|
inlineprotected |
|
inline |
Gets the Boolean parameter value of the effect.
fxParam | The type of Boolean parameter of the effect. Please refer to PARAM_TYPE_BOOL. |
|
inline |
Gets the color parameter value of the effect.
fxParam | The type of color parameter of the effect. Please refer to PARAM_TYPE_COLOR. |
|
inline |
Gets the description of the Effect.
|
inline |
Gets the intensity of the filter.
|
inline |
Gets the float parameter value of the effect.
fxParam | The type of float parameter of the effect. Please refer to PARAM_TYPE_FLOAT. |
|
inlineprotected |
|
inline |
Gets the integer parameter value of the effect.
fxParam | The type of the integer parameter of the effect. Please refer toPARAM_TYPE_INT. |
|
inline |
Gets the menu parameter value of the effect.
fxParam | The type of menu parameter of the effect. Please refer to PARAM_TYPE_MENU. |
|
inline |
|
inline |
|
inline |
Gets the 2D coordinates parameter value of the effect.
fxParam | The type of 2D coordinates parameter of the effect. Please refer to PARAM_TYPE_POSITION2D. |
|
inline |
Gets the 3D coordinates parameter value of the effect.
fxParam | The type of 3D coordinates parameter of the effect. See PARAM_TYPE_POSITION3D. |
|
inline |
Gets the string parameter value of the effect.
fxParam | The type of string parameter of the effect. Please refer to PARAM_TYPE_STRING. |
|
inline |
Releases internal resources.
|
inline |
Sets custom data parameter value.
fxParam | The type of custom data parameter for the effect. |
val | String. |
|
inline |
Sets the Boolean parameter value of the effect.
fxParam | The type of Boolean parameter of the effect. Please refer to PARAM_TYPE_BOOL. |
val | Bool value. |
|
inline |
Sets the color parameter value of the effect.
fxParam | The type of color parameter of the effect. Please refer to PARAM_TYPE_COLOR. |
val | Color value. |
|
inline |
Sets the intensity of the filter.
intensity | The filter intensity value, the value range is generally [0,1]. 0 means no effect, while 1 indicates the default effect. |
|
inline |
Sets the float parameter value of the effect.
fxParam | The type of float parameter of the effect. Please refer to PARAM_TYPE_FLOAT. |
val | Floating point value. |
|
inlineprotected |
|
inline |
Sets the integer parameter value of the effect.
fxParam | The type of the integer parameter of the effect. Please refer to PARAM_TYPE_INT. |
val | Integer |
|
inline |
Sets the menu parameter value of the effect.
fxParam | The type of menu parameter of the effect. Please refer to PARAM_TYPE_MENU. |
val | String. |
|
inline |
Sets the 2D coordinates parameter value of the effect.
fxParam | The type of 2D coordinates parameter of the effect. Please refer to PARAM_TYPE_POSITION2D. |
val | 2D coordinates object. |
|
inline |
Sets the 3D coordinates parameter value of the effect.
fxParam | The type of 3D coordinates parameter of the effect. Please refer to PARAM_TYPE_POSITION3D. |
val | 3D coordinates value |
|
inline |
Sets the string parameter value of the effect.
fxParam | The type of string parameter of the effect. Please refer to PARAM_TYPE_STRING. |
val | String |