IC8 Python API:RLPy RIAvatarPart

From Reallusion Wiki!
Jump to: navigation, search
Main article: iC8 Modules.
Last modified: 10/21/2026

Description

Represents a part of an avatar. It exposes the avatar-part and face-hair types and provides conversion operations for hair and face-hair types.

Class Methods

RLPy.RIAvatarPart.GetAvatarPartType(self)

Experimental Function)Get the type of RIAvatarPart

Returns

EAvatarPartType - RLPy.EAvatarPartType

  • RLPy.EAvatarPartType_None
  • RLPy.EAvatarPartType_Eyes
  • RLPy.EAvatarPartType_Teeth
  • RLPy.EAvatarPartType_Tongue
  • RLPy.EAvatarPartType_Custom
  • RLPy.EAvatarPartType_EyeOcclusion
  • RLPy.EAvatarPartType_TearLine
1 # No example

Description

Represents a part of an avatar. It exposes the avatar-part and face-hair types and provides conversion operations for hair and face-hair types.

Constructor & Destructor

__init__ (self, *args, **kwargs)

Initializes a new ri avatar part instance.

Parameters

  • args
  • kwargs

Member Functions

ConvertToFaceHair (self, eFaceHairType)

Converts to different facehair type.

Parameters

  • eFaceHairType

ConvertToHair (self, eHairType)

Converts to different hair type.

Parameters

  • eHairType

GetAvatarPartType (self)

( Experimental Function ) Get the type of RIAvatarPart.

GetFaceHairType (self)

Gets facehair type.

Properties

thisown

Indicates whether this SWIG proxy owns the underlying C++ object.