HPL3/Amnesia: Rebirth/Scripting/cPostEffect ScreenMaterial

From Frictional Wiki
< HPL3‎ | Amnesia: Rebirth‎ | Scripting
Revision as of 22:50, 15 November 2020 by Abion47 (talk | contribs) (Created page with "{{ScriptingStub}} Have some helpful descriptions to add to this class? Edit this page and add your insight to the Wiki! ==Fields== cPostEffect_ScreenMaterial has no public f...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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_ScreenMaterial has no public fields.

Functions

Return Type Function And Description
void Clear()
void CreateScreenMaterial(int alID, const tString &in asMaterial, const cVector2f &in avPos, const cVector2f &in avSize, float afAlpha, float afDepth)
void DestroyScreenMaterial(int alID)
bool IsActive()
bool IsDisabled()
void Reset()
void SetActive(bool abX)
void SetDisabled(bool abX)
void SetScreenMaterialAlpha(int alID, float afAlpha)

Details

Clear

void Clear()

Returns:

  • void

CreateScreenMaterial

void CreateScreenMaterial(int alID,
                          const tString &in asMaterial,
                          const cVector2f &in avPos,
                          const cVector2f &in avSize,
                          float afAlpha,
                          float afDepth)


Parameters

Returns:

  • void

DestroyScreenMaterial

void DestroyScreenMaterial(int alID)


Parameters

  • alID (int) —

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

SetScreenMaterialAlpha

void SetScreenMaterialAlpha(int alID,
                            float afAlpha)


Parameters

  • alID (int) —
  • afAlpha (float) —

Returns:

  • void

References

See all references...