IC8 Python API:RLPy RIPhysicsComponent
Contents
- 1 Description
- 2 Class Methods
- 2.1 RLPy.RIPhysicsComponent.GetSoftPhysicsMaterialNameList(self, strMeshName )
- 2.2 RLPy.RIPhysicsComponent.GetSoftPhysicsMeshNameList(self)
- 2.3 RLPy.RIPhysicsComponent.GetSoftPhysXCollisionEnable(self, strMeshName, strMaterialName, strCollisionName )
- 2.4 RLPy.RIPhysicsComponent.GetSoftPhysXCollisionValue(self, strMeshName, strMaterialName, strCollisionName )
- 2.5 RLPy.RIPhysicsComponent.GetSoftPhysXProperty(self, strMeshName, strMaterialName, strPropertyName )
- 2.6 RLPy.RIPhysicsComponent.IsActivatePhysicsEnable(self)
- 2.7 RLPy.RIPhysicsComponent.IsObjectGravityEnable(self, strMeshName, strMaterialName )
- 2.8 RLPy.RIPhysicsComponent.SavePhysicsSoftColthWeightMap(self, strMeshName, strMaterialName, strFilePath )
- 2.9 RLPy.RIPhysicsComponent.SetActivatePhysicsEnable(self, bActivate )
- 2.10 RLPy.RIPhysicsComponent.SetObjectGravityEnable(self, strMeshName, strMaterialName, bObjectGravity )
- 2.11 RLPy.RIPhysicsComponent.SetPhysicsSoftColthWeightMap(self, strMeshName, strMaterialName, strFilePath )
- 2.12 RLPy.RIPhysicsComponent.SetSoftPhysXCollisionEnable(self, strMeshName, strMaterialName, strCollisionName, bEnable )
- 2.13 RLPy.RIPhysicsComponent.SetSoftPhysXCollisionValue(self, strMeshName, strMaterialName, strCollisionName, fValue )
- 2.14 RLPy.RIPhysicsComponent.SetSoftPhysXProperty(self, strMeshName, strMaterialName, strPropertyName, fValue )
- 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