IC8 Python API:RLPy RIPhysicsComponent

From Reallusion Wiki!
Revision as of 18:42, 19 February 2023 by Chuck (RL) (Talk | contribs) (Created page with "{{TOC}} {{Parent|IC_8_Python_API:Modules|iC8 Modules}} {{Modified}} ==Description== Missing description. ==Class Methods== ===RLPy.RIPhysicsComponent.GetSoftPhysicsMateria...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Contents

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

Description

Missing description.

Class Methods

RLPy.RIPhysicsComponent.GetSoftPhysicsMaterialNameList(self, strMeshName )

Get all material names which are available to modify weight map.

Experimental API

Returns

std::vector<std::wstring > material names

1 # No example

RLPy.RIPhysicsComponent.GetSoftPhysicsMeshNameList(self)

Get all mesh names which are available to modify weight map.

Experimental API

Returns

std::vector<std::wstring > mesh names

1 # No example

RLPy.RIPhysicsComponent.GetSoftPhysXCollisionEnable(self, strMeshName, strMaterialName, strCollisionName )

Get status of PhysX checkboxs.

Experimental API

Parameters

strMeshName[IN] The name for mesh - string
strMaterialName[IN] The name for material of mesh - string
strPropertyName[IN] The name for material's PhysX collision.

Returns

enable(true) or disable (false)

1 # No example

RLPy.RIPhysicsComponent.GetSoftPhysXCollisionValue(self, strMeshName, strMaterialName, strCollisionName )

Get status of PhysX checkboxs.

Experimental API

Parameters

strMeshName[IN] The name for mesh - string
strMaterialName[IN] The name for material of mesh - string
strPropertyName[IN] The name for material's PhysX collision.

Returns

valueof PhysX collision

1 # No example

RLPy.RIPhysicsComponent.GetSoftPhysXProperty(self, strMeshName, strMaterialName, strPropertyName )

Get status of PhysX checkboxs.

Experimental API

Parameters

strMeshName[IN] The name for mesh - string
strMaterialName[IN] The name for material of mesh - string
strPropertyName[IN] The name for material's PhysX property - string

Returns

valueof PhysX property

1 # No example

RLPy.RIPhysicsComponent.IsActivatePhysicsEnable(self)

Get status of PhysX checkboxs.

Experimental API

Returns

enable(true) or disable (false)

1 # No example

RLPy.RIPhysicsComponent.IsObjectGravityEnable(self, strMeshName, strMaterialName )

Get status of PhysX checkboxs.

Experimental API

Parameters

strMeshName[IN] The name for mesh - string
strMeshName[IN] The name for material - string

Returns

enable(true) or disable (false)

1 # No example

RLPy.RIPhysicsComponent.SavePhysicsSoftColthWeightMap(self, strMeshName, strMaterialName, strFilePath )

Get matherial weight image.

Experimental API

Returns

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

RLPy.RIPhysicsComponent.SetActivatePhysicsEnable(self, bActivate )

Set status of PhysX checkboxs.

Experimental API

Parameters

bCheck[IN] The status of checkbox.

Returns

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

RLPy.RIPhysicsComponent.SetObjectGravityEnable(self, strMeshName, strMaterialName, bObjectGravity )

Set status of PhysX checkboxs.

Experimental API

Parameters

strMeshName[IN] The name for mesh - string
strMeshName[IN] The name for material - string
bCheck[IN] The status of checkbox.

Returns

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

RLPy.RIPhysicsComponent.SetPhysicsSoftColthWeightMap(self, strMeshName, strMaterialName, strFilePath )

Set matherial weight image.

Experimental API

Returns

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

RLPy.RIPhysicsComponent.SetSoftPhysXCollisionEnable(self, strMeshName, strMaterialName, strCollisionName, bEnable )

Set status of PhysX checkboxs.

Experimental API

Parameters

strMeshName[IN] The name for mesh - string
strMaterialName[IN] The name for material of mesh - string
strCheckboxName[IN] The name for material's PhysX collision.
fPropertyName[IN] The value of PhysX collision.

Returns

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

RLPy.RIPhysicsComponent.SetSoftPhysXCollisionValue(self, strMeshName, strMaterialName, strCollisionName, fValue )

Set status of PhysX checkboxs.

Experimental API

Parameters

strMeshName[IN] The name for mesh - string
strMaterialName[IN] The name for material of mesh - string
strCheckboxName[IN] The name for material's PhysX collision.
fPropertyName[IN] The value of PhysX collision.

Returns

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

RLPy.RIPhysicsComponent.SetSoftPhysXProperty(self, strMeshName, strMaterialName, strPropertyName, fValue )

Set status of PhysX checkboxs.

Experimental API

Parameters

strMeshName[IN] The name for mesh - string
strMaterialName[IN] The name for material of mesh - string
strCheckboxName[IN] The name for material's PhysX property.
fPropertyName[IN] The value of PhysX property.

Returns

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