IC8 Python API:RLPy RIAvatarShapingComponent
From Reallusion Wiki!
Contents
- 1 Description
- 2 Constructor & Destructor
- 3 Member Functions
- 3.1 CreateSlider (self, kMorphSliderInputData, strOutputFilePath)
- 3.2 FixEyeElement (self)
- 3.3 GetShapingMorphCatergoryNames (self)
- 3.4 GetShapingMorphDisplayNames (self, strCatergory)
- 3.5 GetShapingMorphIDs (self, strCatergory)
- 3.6 GetShapingMorphMinMax (self, strID)
- 3.7 GetShapingMorphWeight (self, strID)
- 3.8 SetShapingMorphDisplayName (self, strId, strName)
- 3.9 SetShapingMorphWeight (self, strID, fWeight)
- 4 Properties
Description
This class provides an interface to the avatar shaping system and its morph controls.
Constructor & Destructor
__init__ (self, *args, **kwargs)
Initializes a new ri avatar shaping component instance.
Parameters
- args
- kwargs
Member Functions
CreateSlider (self, kMorphSliderInputData, strOutputFilePath)
Creates morph slider.
Parameters
- kMorphSliderInputData
- strOutputFilePath
FixEyeElement (self)
Fix the tear line, eye occlusion, and eye element positions of the avatar.
GetShapingMorphCatergoryNames (self)
Gets morph slider category.
GetShapingMorphDisplayNames (self, strCatergory)
Gets morph sliders' display name.
Parameters
- strCatergory
GetShapingMorphIDs (self, strCatergory)
Gets morph sliders' id.
Parameters
- strCatergory
GetShapingMorphMinMax (self, strID)
Gets morph slider minimum and maximum value.
Parameters
- strID
GetShapingMorphWeight (self, strID)
Gets morph slider weight.
Parameters
- strID
SetShapingMorphDisplayName (self, strId, strName)
Sets morph sliders' display name.
Parameters
- strId
- strName
SetShapingMorphWeight (self, strID, fWeight)
Sets morph slider weight.
Parameters
- strID
- fWeight
Properties
thisown
Indicates whether this SWIG proxy owns the underlying C++ object.