IC8 Python API:RLPy RFacialSetting

From Reallusion Wiki!
Jump to: navigation, search
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