IC Python API:RLPy RIVisemeSmoothOption

From Reallusion Wiki!
Revision as of 02:35, 28 March 2019 by Chuck (RL) (Talk | contribs) (Created page with "{{TOC}} {{Parent|IC_Python_API:RL_Python_Modules|Modules}} ==Detailed Description== The smooth options of the viseme clip. The developer can set the smooth value to smooth the...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
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

A list of smooth enable states - list

GetSmoothValueSetting

RLPy.RVisemeSmoothOption.GetSmoothValueSetting ( self )

Get the smooth values for all parts of a mouth.

Returns

A list of smooth values - float

GetStrengthEnableSetting

RLPy.RVisemeSmoothOption.GetStrengthEnableSetting ( self )

Get the strength enable states for all parts of a mouth.

Returns

A list of strength enable states - list

GetStrengthValueSetting

RLPy.RVisemeSmoothOption.GetStrengthValueSetting ( self )

Get the strength values for all parts of a mouth.

Returns

A list of strength values - float

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