HPL3/Amnesia: Rebirth/Scripting/cPostEffect VideoDistortion

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_VideoDistortion has no public fields.

Functions

Return Type Function And Description
void GetParams(float &out afAmount, float &out afRandomSeed, float &out afLineDensity, float &out afOffsetMul, cVector2f &out avScreenOffset, cVector2f &out avScreenBendAmount)
bool IsActive()
bool IsDisabled()
void Reset()
void SetActive(bool abX)
void SetDisabled(bool abX)
void SetParams(float afAmount, float afRandomSeed, float afLineDensity, float afOffsetMul, const cVector2f &in avScreenOffset, const cVector2f &in avScreenBendAmount)

Details

GetParams

void GetParams(float &out afAmount,
               float &out afRandomSeed,
               float &out afLineDensity,
               float &out afOffsetMul,
               cVector2f &out avScreenOffset,
               cVector2f &out avScreenBendAmount)


Parameters

  • afAmount (float) —
  • afRandomSeed (float) —
  • afLineDensity (float) —
  • afOffsetMul (float) —
  • avScreenOffset (cVector2f) —
  • avScreenBendAmount (cVector2f) —

Returns:

  • void

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 afAmount,
               float afRandomSeed,
               float afLineDensity,
               float afOffsetMul,
               const cVector2f &in avScreenOffset,
               const cVector2f &in avScreenBendAmount)


Parameters

  • afAmount (float) —
  • afRandomSeed (float) —
  • afLineDensity (float) —
  • afOffsetMul (float) —
  • avScreenOffset (cVector2f) —
  • avScreenBendAmount (cVector2f) —

Returns:

  • void

References

See all references...