IC8 Python API:RLPy RIAvatarShapingComponent

From Reallusion Wiki!
Jump to: navigation, search

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.