Difference between revisions of "IC8 Python API:RLPy RICloth"

From Reallusion Wiki!
Jump to: navigation, search
(Created page with "{{TOC}} {{Parent|IC_8_Python_API:Modules|iC8 Modules}} {{Modified}} ==Description== Missing description. ==Class Methods== ===RLPy.RICloth.CalculateCollision(self)=== Calc...")
 
m
 
Line 10: Line 10:
  
 
===RLPy.RICloth.CalculateCollision(self)===
 
===RLPy.RICloth.CalculateCollision(self)===
Calculates collision.
+
 
 +
{{Notice|This function will only be availabe after the release of CC 4.3!}}
 +
 
 +
Calculates soft-cloth collisions.
  
 
====Returns====
 
====Returns====

Latest revision as of 02:21, 22 February 2023

Main article: iC8 Modules.
Last modified: 02/22/2023

Description

Missing description.

Class Methods

RLPy.RICloth.CalculateCollision(self)

⚠ This function will only be availabe after the release of CC 4.3!

Calculates soft-cloth collisions.

Returns

RLPy.RStatus.Success - Succeed
RLPy.RStatus.Failure - Fail
1 # No example

RLPy.RICloth.ConvertToAccessory(self, bCurrentShape )

Converts cloth to accessory.

Returns

RLPy.RStatus.Success - Succeed
RLPy.RStatus.Failure - Fail
1 # No example

RLPy.RICloth.GetClothConformValue(self, strConform )

Get conform property value.

Returns

cloth conform property value - float

1 # No example

RLPy.RICloth.GetMaterialComponent(self)

Get material component of the object.

Returns

Pointer of the RIMaterialComponent object - RLPy.RIMaterialComponent

1 # No example

RLPy.RICloth.IsClothConformingEnable(self)

Get cloth fitting enable status.

Returns

cloth fitting enable status - bool

1 # No example

RLPy.RICloth.SetClothConformingEnable(self, bEnable )

Set cloth fitting enable status.

Returns

RLPy.RStatus.Success - Succeed
RLPy.RStatus.Failure - Fail
1 # No example

RLPy.RICloth.SetClothConformValue(self, strConform, fValue )

Set conform property value.

Returns

RLPy.RStatus.Success - Succeed
RLPy.RStatus.Failure - Fail
1 # No example

RLPy.RICloth.TransferSkinWeight(self, strTemplateType )

Transfer skin weight.

Returns

RLPy.RStatus.Success - Succeed
RLPy.RStatus.Failure - Fail
1 # No example