IC8 Python API:RLPy RIHair
From Reallusion Wiki!
- Main article: iC8 Modules.
- Last modified: 10/21/2026
Description
Represents a hair object. It exposes the hair type and material and physics components, and provides conversion operations for hair and face-hair types.
RLPy.RIHair.GetPhysicsComponent(self)
Get physics component of the object.
Returns
Pointer of the RIPhysicsComponentPtr object - RLPy.RIPhysicsComponent
1 # No example
Description
Represents a hair object. It exposes the hair type and material and physics components, and provides conversion operations for hair and face-hair types.
Constructor & Destructor
__init__ (self, *args, **kwargs)
Initializes a new ri hair 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
GetHairType (self)
Gets hair type.
GetMaterialComponent (self)
Gets material component of the object.
GetPhysicsComponent (self)
Gets physics component of the object.
Properties
thisown
Indicates whether this SWIG proxy owns the underlying C++ object.