IC8 Python API:RLPy RFacialSetting
From Reallusion Wiki!
Revision as of 00:04, 10 January 2023 by Chuck (RL) (Talk | contribs) (Created page with "{{TOC}} {{Parent|IC_8_Python_API:Modules|iC8 Modules}} {{Modified}} ==Description== This class is used to store the settings of facial motion capture. ==Class Methods== ==...")
Contents
- 1 Description
- 2 Class Methods
- 2.1 RLPy.RFacialSetting.GetBlend(self)
- 2.2 RLPy.RFacialSetting.GetMode(self)
- 2.3 RLPy.RFacialSetting.GetReplacePart(self, bHead, bLeftEye, bRightEye, kMorph, kCustom, kBone)
- 2.4 RLPy.RFacialSetting.SetBlend(self, bBlend)
- 2.5 RLPy.RFacialSetting.SetMode(self, eMode)
- 2.6 RLPy.RFacialSetting.SetReplacePart(self, bHead, bLeftEye, bRightEye, kMorph, kCustom, kBone)
- Main article: iC8 Modules.
- Last modified: 01/10/2023
Description
This class is used to store the settings of facial motion capture.
Class Methods
RLPy.RFacialSetting.GetBlend(self)
Get facial blend status.
Returns
blend status - bool
1 # No example
RLPy.RFacialSetting.GetMode(self)
Get facial animation mode.
Returns
animation mode - RLPy.EFacialAnimationMode
- RLPy.EFacialAnimationMode_CreateNew
- RLPy.EFacialAnimationMode_Replace
- RLPy.EFacialAnimationMode_Blend
1 # No example
RLPy.RFacialSetting.GetReplacePart(self, bHead, bLeftEye, bRightEye, kMorph, kCustom, kBone)
Get facial animation mode.
If it is true, it means that the expression will be replaced.
1 # No example
RLPy.RFacialSetting.SetBlend(self, bBlend)
Set facial blend status.
Parameters
- bBlend[IN] blend status - bool
1 # No example
RLPy.RFacialSetting.SetMode(self, eMode)
Set facial animation mode.
Parameters
- eMode[IN] animation mode - RLPy.EFacialAnimationMode
- RLPy.EFacialAnimationMode_CreateNew
- RLPy.EFacialAnimationMode_Replace
- RLPy.EFacialAnimationMode_Blend
1 # No example
RLPy.RFacialSetting.SetReplacePart(self, bHead, bLeftEye, bRightEye, kMorph, kCustom, kBone)
Set facial animation mode.
Set to true if you want to replace expressions.
1 # No example