HPL3/Amnesia: Rebirth/Scripting/iVerletParticleContainer
< HPL3 | Amnesia: Rebirth | Scripting
Jump to navigation
Jump to search
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
- 1 Fields
- 2 Functions
- 3 Details
- 3.1 GetActive
- 3.2 GetCollide
- 3.3 GetDamping
- 3.4 GetGravityForce
- 3.5 GetName
- 3.6 GetParticle
- 3.7 GetParticleNum
- 3.8 GetParticleRadius
- 3.9 GetSlideAmount
- 3.10 GetUniqueID
- 3.11 GetUpdateCount
- 3.12 IncUpdateCount
- 3.13 RemoveAttachedBody
- 3.14 SetActive
- 3.15 SetCollide
- 3.16 SetDamping
- 3.17 SetGravityForce
- 3.18 SetParticleRadius
- 3.19 SetSleeping
- 3.20 SetSleepParamters
- 3.21 SetSlideAmount
- 3.22 UpdateLengthConstraint
- 3.23 UpdateLengthConstraint
- 3.24 UpdateLengthConstraint
- 3.25 UpdateLengthConstraintStretch
- 3.26 UpdateParticleCollisionConstraint
- 4 References
Fields
iVerletParticleContainer has no public fields.
Functions
Return Type | Function And Description |
---|---|
bool | GetActive() |
bool | GetCollide() |
float | GetDamping() |
cVector3f | GetGravityForce() |
tString | GetName() |
cVerletParticle | GetParticle(int alIdx) |
int | GetParticleNum() |
float | GetParticleRadius() |
float | GetSlideAmount() |
int | GetUniqueID() |
int | GetUpdateCount() |
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 | SetSleepParamters(float afSleepCheckInterval, float afSleepCheckDistance, int alSleepCountMax) |
void | SetSlideAmount(float afX) |
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 &in avPrevPos, float afRadius) |
Details
GetActive
bool GetActive()
Returns:
- bool—
GetCollide
bool GetCollide()
Returns:
- bool—
GetDamping
float GetDamping()
Returns:
- float—
GetGravityForce
const cVector3f& GetGravityForce()
Returns:
- const cVector3f&—
GetName
const tString& GetName()
Returns:
- const tString&—
GetParticle
cVerletParticle@ GetParticle(int alIdx)
Parameters
- alIdx (int) —
Returns:
- cVerletParticle@—
GetParticleNum
int GetParticleNum()
Returns:
- int—
GetParticleRadius
float GetParticleRadius()
Returns:
- float—
GetSlideAmount
float GetSlideAmount()
Returns:
- float—
GetUniqueID
int GetUniqueID()
Returns:
- int—
GetUpdateCount
int GetUpdateCount()
Returns:
- int—
IncUpdateCount
void IncUpdateCount()
Returns:
- void
RemoveAttachedBody
void RemoveAttachedBody(iPhysicsBody@ apBody,
bool abRemoveContainerFromBody)
Parameters
- apBody (iPhysicsBody@) —
- abRemoveContainerFromBody (bool) —
Returns:
- void
SetActive
void SetActive(bool abX)
Parameters
- abX (bool) —
Returns:
- void
SetCollide
void SetCollide(bool abX)
Parameters
- abX (bool) —
Returns:
- void
SetDamping
void SetDamping(float afX)
Parameters
- afX (float) —
Returns:
- void
SetGravityForce
SetParticleRadius
void SetParticleRadius(float afX)
Parameters
- afX (float) —
Returns:
- void
SetSleeping
void SetSleeping(bool abX)
Parameters
- abX (bool) —
Returns:
- void
SetSleepParamters
void SetSleepParamters(float afSleepCheckInterval,
float afSleepCheckDistance,
int alSleepCountMax)
Parameters
- afSleepCheckInterval (float) —
- afSleepCheckDistance (float) —
- alSleepCountMax (int) —
Returns:
- void
SetSlideAmount
void SetSlideAmount(float afX)
Parameters
- afX (float) —
Returns:
- void
UpdateLengthConstraint
void UpdateLengthConstraint(cVerletParticle@ apP1,
cVerletParticle@ apP2,
float afLength)
Parameters
- apP1 (cVerletParticle@) —
- apP2 (cVerletParticle@) —
- afLength (float) —
Returns:
- void
UpdateLengthConstraint
void UpdateLengthConstraint(cVerletParticle@ apP1,
cVerletParticle@ apP2,
float afLength,
float afStiffness)
Parameters
- apP1 (cVerletParticle@) —
- apP2 (cVerletParticle@) —
- afLength (float) —
- afStiffness (float) —
Returns:
- void
UpdateLengthConstraint
void UpdateLengthConstraint(cVerletParticle@ apP1,
cVerletParticle@ apP2,
float afMinLength,
float afMaxLength,
float afStiffness)
Parameters
- apP1 (cVerletParticle@) —
- apP2 (cVerletParticle@) —
- afMinLength (float) —
- afMaxLength (float) —
- afStiffness (float) —
Returns:
- void
UpdateLengthConstraintStretch
void UpdateLengthConstraintStretch(cVerletParticle@ apP1,
cVerletParticle@ apP2,
float afLength,
float afStiffness)
Parameters
- apP1 (cVerletParticle@) —
- apP2 (cVerletParticle@) —
- afLength (float) —
- afStiffness (float) —
Returns:
- void
UpdateParticleCollisionConstraint
void UpdateParticleCollisionConstraint(cVerletParticle@ apPart,
const cVector3f &in avPrevPos,
float afRadius)
Parameters
- apPart (cVerletParticle@) —
- avPrevPos (cVector3f) —
- afRadius (float) —
Returns:
- void