HPL3/Amnesia: Rebirth/Scripting/cMaterial

From Frictional Wiki
< HPL3‎ | Amnesia: Rebirth‎ | Scripting
Revision as of 22:42, 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== cMaterial has no public fields. ==Functio...")
(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

cMaterial has no public fields.

Functions

Return Type Function And Description
bool GetForceFullScaleTextures()
tString GetName()
int GetUvAnimationNum()
void SetUvAnimationSpeed(int alIdx, float afSpeed)
void SetUvAnimationTime(int alIdx, float afTime)

Details

GetForceFullScaleTextures

bool GetForceFullScaleTextures()

Returns:

  • bool

GetName

const tString& GetName()

Returns:

  • const tString&

GetUvAnimationNum

int GetUvAnimationNum()

Returns:

  • int

SetUvAnimationSpeed

void SetUvAnimationSpeed(int alIdx,
                         float afSpeed)


Parameters

  • alIdx (int) —
  • afSpeed (float) —

Returns:

  • void

SetUvAnimationTime

void SetUvAnimationTime(int alIdx,
                        float afTime)


Parameters

  • alIdx (int) —
  • afTime (float) —

Returns:

  • void

References

See all references...