HPL3/Amnesia: Rebirth/Scripting/cPostEffect FearTentacles

From Frictional Wiki
Jump to navigation Jump to search

Have some helpful descriptions to add to this class? Edit this page and add your insight to the Wiki!

Fields

cPostEffect_FearTentacles has no public fields.

Functions

Return Type Function And Description
void GetParams(float &out afIntensity, float &out afTentacleScale, float &out afSpreadDist, float &out afRefraction, float &out afVingette, float &out afAlpha, float &out afCircleRadius, float &out afCircleAlpha, float &out afCircleSoftness)
cMeshEntity GetTentacleEntity(int alIndex)
int GetTentacleEntityNum()
bool IsActive()
bool IsDisabled()
void Reset()
void SetActive(bool abX)
void SetDisabled(bool abX)
void SetParams(float afIntensity, float afTentacleScale, float afSpreadDist, float afRefraction, float afVingette, float afAlpha, float afCircleRadius, float afCircleAlpha, float afCircleSoftness)
void SetTentacleAnimationSpeed(const tString &in asAnim, float afSpeed)
void SetTentacleAnimationWeight(const tString &in asAnim, float afWeight)
void SetTentacleMaterial(int alMatIndex, float afFadeTime)
void SetTentacleTransform(int alIndex, const cVector3f &in avPos, const cVector3f &in avRot)
void SetupTentacleAnimation(const tString &in asAnim, float afSpeedMin, float afSpeedMax)
void SetupTentacleEntity(const tString &in asEntFile, int alNum, int alAnimGroupNum)
void SetupTentacleMaterial(int alMatIndex, const tString &in asMat)

Details

GetParams

void GetParams(float &out afIntensity,
               float &out afTentacleScale,
               float &out afSpreadDist,
               float &out afRefraction,
               float &out afVingette,
               float &out afAlpha,
               float &out afCircleRadius,
               float &out afCircleAlpha,
               float &out afCircleSoftness)


Parameters

  • afIntensity (float) —
  • afTentacleScale (float) —
  • afSpreadDist (float) —
  • afRefraction (float) —
  • afVingette (float) —
  • afAlpha (float) —
  • afCircleRadius (float) —
  • afCircleAlpha (float) —
  • afCircleSoftness (float) —

Returns:

  • void

GetTentacleEntity

cMeshEntity@ GetTentacleEntity(int alIndex)


Parameters

  • alIndex (int) —

Returns:

  • cMeshEntity@

GetTentacleEntityNum

int GetTentacleEntityNum()

Returns:

  • int

IsActive

bool IsActive()

Returns:

  • bool

IsDisabled

bool IsDisabled()

Returns:

  • bool

Reset

void Reset()

Returns:

  • void

SetActive

void SetActive(bool abX)


Parameters

  • abX (bool) —

Returns:

  • void

SetDisabled

void SetDisabled(bool abX)


Parameters

  • abX (bool) —

Returns:

  • void

SetParams

void SetParams(float afIntensity,
               float afTentacleScale,
               float afSpreadDist,
               float afRefraction,
               float afVingette,
               float afAlpha,
               float afCircleRadius,
               float afCircleAlpha,
               float afCircleSoftness)


Parameters

  • afIntensity (float) —
  • afTentacleScale (float) —
  • afSpreadDist (float) —
  • afRefraction (float) —
  • afVingette (float) —
  • afAlpha (float) —
  • afCircleRadius (float) —
  • afCircleAlpha (float) —
  • afCircleSoftness (float) —

Returns:

  • void

SetTentacleAnimationSpeed

void SetTentacleAnimationSpeed(const tString &in asAnim,
                               float afSpeed)


Parameters

  • asAnim (tString) —
  • afSpeed (float) —

Returns:

  • void

SetTentacleAnimationWeight

void SetTentacleAnimationWeight(const tString &in asAnim,
                                float afWeight)


Parameters

  • asAnim (tString) —
  • afWeight (float) —

Returns:

  • void

SetTentacleMaterial

void SetTentacleMaterial(int alMatIndex,
                         float afFadeTime)


Parameters

  • alMatIndex (int) —
  • afFadeTime (float) —

Returns:

  • void

SetTentacleTransform

void SetTentacleTransform(int alIndex,
                          const cVector3f &in avPos,
                          const cVector3f &in avRot)


Parameters

Returns:

  • void

SetupTentacleAnimation

void SetupTentacleAnimation(const tString &in asAnim,
                            float afSpeedMin,
                            float afSpeedMax)


Parameters

  • asAnim (tString) —
  • afSpeedMin (float) —
  • afSpeedMax (float) —

Returns:

  • void

SetupTentacleEntity

void SetupTentacleEntity(const tString &in asEntFile,
                         int alNum,
                         int alAnimGroupNum)


Parameters

  • asEntFile (tString) —
  • alNum (int) —
  • alAnimGroupNum (int) —

Returns:

  • void

SetupTentacleMaterial

void SetupTentacleMaterial(int alMatIndex,
                           const tString &in asMat)


Parameters

  • alMatIndex (int) —
  • asMat (tString) —

Returns:

  • void

References

See all references...