IC Python API:RLPy RVisemeSmoothOption
- Main article: Modules.
Detailed Description
The smooth options of the viseme clip. The developer can set the smooth value to smooth the transition between two viseme keys, and set the strength to stylize mouth movement.
Member Functions
GetSmoothEnableSetting
RLPy.RVisemeSmoothOption.GetSmoothEnableSetting ( self )
Get the smooth enable states for all parts of a mouth.
Returns
GetSmoothValueSetting
RLPy.RVisemeSmoothOption.GetSmoothValueSetting ( self )
Get the smooth values for all parts of a mouth.
Returns
GetStrengthEnableSetting
RLPy.RVisemeSmoothOption.GetStrengthEnableSetting ( self )
Get the strength enable states for all parts of a mouth.
Returns
GetStrengthValueSetting
RLPy.RVisemeSmoothOption.GetStrengthValueSetting ( self )
Get the strength values for all parts of a mouth.
Returns
SetSmoothEnable
RLPy.RVisemeSmoothOption.SetSmoothEnable ( self, bJawEnable, bLipsEnable, bTongueEnable )
Enable the parts of mouth to be smoothed.
Parameters
bJawEnable [IN] jaw is enabled or not - bool
bLipsEnable [IN] lips is enabled or not - bool
bTongueEnable [IN] tongue is enabled or not - bool
SetSmoothValue
RLPy.RVisemeSmoothOption.SetSmoothValue ( self, fJaw, fLips, fTongue )
Set the smooth value for each part of a mouth.
Parameters
fJaw [IN] the smooth value of jaw, the range is from 0.0 to 1.0 - float
fLips [IN] the smooth value of lips, the range is from 0.0 to 1.0 - float
fTongue [IN] the smooth value of tongue, the range is from 0.0 to 1.0 - float
SetStrengthEnable
RLPy.RVisemeSmoothOption.SetStrengthEnable ( self, bJawEnable, bLipsEnable, bTongueEnable )
Enable the parts of mouth to be adjusted by its strength.
Parameters
bJawEnable [IN] jaw is enabled or not - bool
bLipsEnable [IN] lips is enabled or not - bool
bTongueEnable [IN] tongue is enabled or not - bool
SetStrengthValue
RLPy.RVisemeSmoothOption.SetStrengthValue ( self, fJaw, fLips, fTongue )
Set the strength for each part of a mouth.
Parameters
fJaw [IN] the strength value of jaw, the range is from 0.0 to 1.0 - float
fLips [IN] the strength value of lips, the range is from 0.0 to 1.0 - float
fTongue [IN] the strength value of tongue, the range is from 0.0 to 1.0 - float