Fader.FadeOutVolumeCurveSetEx method |
|
Remarks
Sets the volume curve for fade-out operations.
This setting is lost after invoking the Fader.Exit method so you should call again this method after a new eventual call to the Fader.Init method.
Syntax
[Visual Basic] control.Fader.FadeOutVolumeCurveSetEx ( nCurveType as enumVolumeCurves, nLeftX as Integer, nLeftY as Integer, nRightX as Integer, nRightY as Integer ) as enumErrorCodes |
[C++] short control.Fader.FadeOutVolumeCurveSetEx ( short nCurveType, short nLeftX, short nLeftY, short nRightX, short nRightY ); |
Parameter |
Description |
|||||||||||||||||||||
|
|
|||||||||||||||||||||
nCurveType |
Type of curve applied to the volume sliding. Supported values are the following:
|
|||||||||||||||||||||
nLeftX |
The horizontal position, expressed in percentage of the custom curve designer's area, of the left control point (*). This parameter is ignored if the nScaleType parameter above has been set to a value different from VOLUME_CURVE_CUSTOM. |
|||||||||||||||||||||
nLeftY |
The vertical position, expressed in percentage of the custom curve designer's area, of the left control point (*). This parameter is ignored if the nScaleType parameter above has been set to a value different from VOLUME_CURVE_CUSTOM. |
|||||||||||||||||||||
nRightX |
The horizontal position, expressed in percentage of the custom curve designer's area, of the right control point (*). This parameter is ignored if the nScaleType parameter above has been set to a value different from VOLUME_CURVE_CUSTOM. |
|||||||||||||||||||||
nRightY |
The vertical position, expressed in percentage of the custom curve designer's area, of the right control point (*). This parameter is ignored if the nScaleType parameter above has been set to a value different from VOLUME_CURVE_CUSTOM. |
(*) The custom curve designer manages a windowed control, whose visual aspect can be defined programmatically, which allows designing volume curves based upon Bézier curves whose shape is defined through the manual positioning of 2 control points (displayed in cyan color on the graphic below). For further information about the use of the embedded CurveDesigner refer to the tutorial How to create custom volume curves.
Return value
Value |
Meaning |
|
|
Negative value |
An error occurred (see the LastError property for further error details) |
enumErrorCodes.ERR_NOERROR (0) |
The method call was successful. |