IC8 Python API:RLPy RIAccessory
Contents
- 1 Description
- 2 Class Methods
- 3 Description
- 4 Constructor & Destructor
- 5 Member Functions
- 5.1 ConvertToFaceHair (self, eFaceHairType)
- 5.2 ConvertToHair (self, eHairType)
- 5.3 GetMaterialComponent (self)
- 5.4 GetPhysicsComponent (self)
- 5.5 IsDummy (self)
- 5.6 IsVisible (self, kTime)
- 5.7 SetDummy (self, bIsDummy)
- 5.8 SetPivot (self, kPosition, kOrientation)
- 5.9 SetVisible (self, kTime, bVisible)
- 5.10 TransferSkinWeight (self, strTemplateType)
- 6 Properties
- Main article: iC8 Modules.
- Last modified: 10/21/2026
Description
Represents an accessory object in the scene. It provides controls for visibility and dummy state, pivot placement, skin-weight transfer, access to material and physics components, and conversion to hair or face-hair types.
Class Methods
RLPy.RIAccessory.TransferSkinWeight(self, strTemplateType )
Transfer skin weight.
Returns
- RLPy.RStatus.Success - Succeed
- RLPy.RStatus.Failure - Fail
1 # No example
Description
Represents an accessory object in the scene. It provides controls for visibility and dummy state, pivot placement, skin-weight transfer, access to material and physics components, and conversion to hair or face-hair types.
Constructor & Destructor
__init__ (self, *args, **kwargs)
Initializes a new ri accessory 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
GetMaterialComponent (self)
Gets material component of the object.
GetPhysicsComponent (self)
Gets physics component of the object.
IsDummy (self)
Checks if prop state is dummy.
IsVisible (self, kTime)
Checks if prop is visible.
Parameters
- kTime
SetDummy (self, bIsDummy)
Sets the prop state whether its dummy or not.
Parameters
- bIsDummy
SetPivot (self, kPosition, kOrientation)
This function lets you re-position and re-orient the current object's pivot.
Parameters
- kPosition
- kOrientation
SetVisible (self, kTime, bVisible)
( Experimental Function ) Set visible status.
Parameters
- kTime
- bVisible
TransferSkinWeight (self, strTemplateType)
Transfer skin weight.
Parameters
- strTemplateType
Properties
thisown
Indicates whether this SWIG proxy owns the underlying C++ object.