Difference between revisions of "HPL3/SOMA/Scripting/iPhysicsCloth"
Jump to navigation
Jump to search
(Created page with "{{ScriptingStub}} Have some helpful descriptions to add to this class? Edit this page and add your insight to the Wiki! ==Fields== iPhysicsCloth has no public fields. ==Fu...") |
|||
Line 72: | Line 72: | ||
| <syntaxhighlight lang="c++" inline>void</syntaxhighlight> || UpdateParticleCollisionConstraint || [[../cVerletParticle|<syntaxhighlight lang="c++" inline>cVerletParticle@ apPart</syntaxhighlight>]],<br />[[../cVector3f|<syntaxhighlight lang="c++" inline>const cVector3f& avPrevPos</syntaxhighlight>]],<br /><syntaxhighlight lang="c++" inline>float afRadius</syntaxhighlight> || | | <syntaxhighlight lang="c++" inline>void</syntaxhighlight> || UpdateParticleCollisionConstraint || [[../cVerletParticle|<syntaxhighlight lang="c++" inline>cVerletParticle@ apPart</syntaxhighlight>]],<br />[[../cVector3f|<syntaxhighlight lang="c++" inline>const cVector3f& avPrevPos</syntaxhighlight>]],<br /><syntaxhighlight lang="c++" inline>float afRadius</syntaxhighlight> || | ||
|} | |} | ||
+ | |||
+ | {{ReferencesSection}} | ||
{{HPL3SOMAScriptingCategories}} | {{HPL3SOMAScriptingCategories}} | ||
__FORCETOC__ | __FORCETOC__ |
Latest revision as of 16:04, 6 August 2020
This page has been automatically generated, but it needs descriptions added to the various fields/functions in order to be complete. |
Have some helpful descriptions to add to this class? Edit this page and add your insight to the Wiki!
Contents
Fields
iPhysicsCloth has no public fields.
Functions
Return Type | Function Name | Parameters | Description |
---|---|---|---|
void |
ApplyForceToParticles | const cVector3f& avForce ,cVerletParticle@ apBaseParticle ,const cVector3f& avOffset = 0 |
|
void |
AttachToLine | cVector3f avStart ,cVector3f avEnd ,int alRow ,int alColumnStride ,bool abFixedPositions = false |
|
bool |
GetActive | ||
cVector2f |
GetClothSize | ||
bool |
GetCollide | ||
float |
GetDamping | ||
const cVector3f& |
GetGravityForce | ||
const tString& |
GetName | ||
cVerletParticle@ |
GetParticle | int alIdx |
|
int |
GetParticleNum | ||
float |
GetParticleRadius | ||
float |
GetSlideAmount | ||
int |
GetUniqueID | ||
int |
GetUpdateCount | ||
cVector3f |
GetWindForce | ||
void |
IncUpdateCount | ||
void |
RemoveAttachedBody | iPhysicsBody@ apBody ,bool abRemoveContainerFromBody |
|
void |
SetActive | bool abX |
|
void |
SetCollide | bool abX |
|
void |
SetDamping | float afX |
|
void |
SetGravityForce | const cVector3f &in avX |
|
void |
SetParticleRadius | float afX |
|
void |
SetSleeping | bool abX |
|
void |
SetSlideAmount | float afX |
|
void |
SetWindForce | const cVector3f avWindForce |
|
void |
UpdateLengthConstraint | cVerletParticle@ apP1 ,cVerletParticle@ apP2 ,float afLength |
|
void |
UpdateLengthConstraint | cVerletParticle@ apP1 ,cVerletParticle@ apP2 ,float afLength ,float afStiffness |
|
void |
UpdateLengthConstraint | cVerletParticle@ apP1 ,cVerletParticle@ apP2 ,float afMinLength ,float afMaxLength ,float afStiffness |
|
void |
UpdateLengthConstraintStretch | cVerletParticle@ apP1 ,cVerletParticle@ apP2 ,float afLength ,float afStiffness |
|
void |
UpdateParticleCollisionConstraint | cVerletParticle@ apPart ,const cVector3f& avPrevPos ,float afRadius |