HPL3/Amnesia: Rebirth/Scripting/cGuiGfxElement

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

cGuiGfxElement has no public fields.

Functions

Return Type Function And Description
cGuiGfxAnimation CreateAnimtion(const tString &in asName)
cVector2f GetActiveSize()
cGuiGfxAnimation GetAnimation(int alIdx)
int GetAnimationNum()
bool GetAnimationPaused()
bool GetFlipUvYAxis()
cVector2f GetImageSize()
cVector3f GetOffset()
void PlayAnimation(int alNum)
void SetActiveSize(const cVector2f &in avSize)
void SetAnimationPaused(bool abX)
void SetAnimationTime(float afTime)
void SetColor(const cColor &in aColor)
void SetFlipUvYAxis(bool abX)
void SetMaterial(iGuiMaterial@ apMat)
void SetOffset(const cVector3f &in avOffset)

Details

CreateAnimtion

cGuiGfxAnimation@ CreateAnimtion(const tString &in asName)


Parameters

Returns:

  • cGuiGfxAnimation@

GetActiveSize

const cVector2f& GetActiveSize()

Returns:

  • const cVector2f&

GetAnimation

cGuiGfxAnimation@ GetAnimation(int alIdx)


Parameters

  • alIdx (int) —

Returns:

  • cGuiGfxAnimation@

GetAnimationNum

int GetAnimationNum()

Returns:

  • int

GetAnimationPaused

bool GetAnimationPaused()

Returns:

  • bool

GetFlipUvYAxis

bool GetFlipUvYAxis()

Returns:

  • bool

GetImageSize

const cVector2f& GetImageSize()

Returns:

  • const cVector2f&

GetOffset

const cVector3f& GetOffset()

Returns:

  • const cVector3f&

PlayAnimation

void PlayAnimation(int alNum)


Parameters

  • alNum (int) —

Returns:

  • void

SetActiveSize

void SetActiveSize(const cVector2f &in avSize)


Parameters

Returns:

  • void

SetAnimationPaused

void SetAnimationPaused(bool abX)


Parameters

  • abX (bool) —

Returns:

  • void

SetAnimationTime

void SetAnimationTime(float afTime)


Parameters

  • afTime (float) —

Returns:

  • void

SetColor

void SetColor(const cColor &in aColor)


Parameters

Returns:

  • void

SetFlipUvYAxis

void SetFlipUvYAxis(bool abX)


Parameters

  • abX (bool) —

Returns:

  • void

SetMaterial

void SetMaterial(iGuiMaterial@ apMat)


Parameters

Returns:

  • void

SetOffset

void SetOffset(const cVector3f &in avOffset)


Parameters

Returns:

  • void

References

See all references...