HPL3/Amnesia: Rebirth/Scripting/Scripting Api/Terminal
This page has been automatically generated, but it needs descriptions added to the various fields/functions in order to be complete. |
Have some helpful descriptions to add to this class? Edit this page and add your insight to the Wiki!
Contents
- 1 Summary
- 2 Function Detail
- 2.1 Terminal_FadeImGuiStateColor
- 2.2 Terminal_FadeImGuiStateFloat
- 2.3 Terminal_FadeImGuiStateVector3f
- 2.4 Terminal_ForceCacheUpdate
- 2.5 Terminal_GetImGuiStateBool
- 2.6 Terminal_GetImGuiStateColor
- 2.7 Terminal_GetImGuiStateFloat
- 2.8 Terminal_GetImGuiStateInt
- 2.9 Terminal_GetImGuiStateVector3f
- 2.10 Terminal_IncImGuiStateColor
- 2.11 Terminal_IncImGuiStateFloat
- 2.12 Terminal_IncImGuiStateInt
- 2.13 Terminal_IncImGuiStateVector3f
- 2.14 Terminal_IsGuiActive
- 2.15 Terminal_SetAllowInteraction
- 2.16 Terminal_SetEnterCallback
- 2.17 Terminal_SetFPSWhenIdle
- 2.18 Terminal_SetGuiActive
- 2.19 Terminal_SetImGuiStateBool
- 2.20 Terminal_SetImGuiStateColor
- 2.21 Terminal_SetImGuiStateFloat
- 2.22 Terminal_SetImGuiStateInt
- 2.23 Terminal_SetImGuiStateVector3f
- 2.24 Terminal_SetLeaveCallback
- 2.25 Terminal_SetOnGuiFunction
- 2.26 Terminal_SetShowMouse
- 2.27 Terminal_SetUnlockFPS
- 2.28 Terminal_SetUpdateWhenOutOfView
- 2.29 Terminal_StopImGuiFade
Summary
Return Type | Function and Description |
---|---|
void | Terminal_FadeImGuiStateColor(const tString &in asPropName, const tString &in asVarName, cColor aGoalVal, float afTime, eEasing aType = eEasing_QuadInOut, bool abReplaceIfExist = true) |
void | Terminal_FadeImGuiStateFloat(const tString &in asPropName, const tString &in asVarName, float afGoalVal, float afTime, eEasing aType = eEasing_QuadInOut, bool abReplaceIfExist = true) |
void | Terminal_FadeImGuiStateVector3f(const tString &in asPropName, const tString &in asVarName, cVector3f avGoalVal, float afTime, eEasing aType = eEasing_QuadInOut, bool abReplaceIfExist = true) |
void | Terminal_ForceCacheUpdate(const tString &in asName) Forces the terminal to update its cache |
bool | Terminal_GetImGuiStateBool(const tString &in asPropName, const tString &in asVarName, bool alDefault = false) |
cColor | Terminal_GetImGuiStateColor(const tString &in asPropName, const tString &in asVarName, const cColor &in aDefault) |
float | Terminal_GetImGuiStateFloat(const tString &in asPropName, const tString &in asVarName, float afDefault = 0.0f) |
int | Terminal_GetImGuiStateInt(const tString &in asPropName, const tString &in asVarName, int alDefault = 0) |
cVector3f | Terminal_GetImGuiStateVector3f(const tString &in asPropName, const tString &in asVarName, const cVector3f &in avDefault) |
void | Terminal_IncImGuiStateColor(const tString &in asPropName, const tString &in asVarName, const cColor &in aVal) |
void | Terminal_IncImGuiStateFloat(const tString &in asPropName, const tString &in asVarName, float afVal) |
void | Terminal_IncImGuiStateInt(const tString &in asPropName, const tString &in asVarName, int alVal) |
void | Terminal_IncImGuiStateVector3f(const tString &in asPropName, const tString &in asVarName, const cVector3f &in avVal) |
bool | Terminal_IsGuiActive(const tString &in asName) Get if the terminal GUI is active |
void | Terminal_SetAllowInteraction(const tString &in asName, bool abX) Set if the terminal should allow interaction from player |
void | Terminal_SetEnterCallback(const tString &in asName, const tString &in asCallback) Set the terminal's Enter callback |
void | Terminal_SetFPSWhenIdle(const tString &in asName, float afFPS) Sets the FPS of the terminal when not in focus |
void | Terminal_SetGuiActive(const tString &in asName, bool abX, float afFadeTime = 0.0f) Set if the terminal should visible |
void | Terminal_SetImGuiStateBool(const tString &in asPropName, const tString &in asVarName, bool abVal) |
void | Terminal_SetImGuiStateColor(const tString &in asPropName, const tString &in asVarName, const cColor &in aVal) |
void | Terminal_SetImGuiStateFloat(const tString &in asPropName, const tString &in asVarName, float afVal) |
void | Terminal_SetImGuiStateInt(const tString &in asPropName, const tString &in asVarName, int alVal) |
void | Terminal_SetImGuiStateVector3f(const tString &in asPropName, const tString &in asVarName, const cVector3f &in avVal) |
void | Terminal_SetLeaveCallback(const tString &in asName, const tString &in asCallback) Set the terminal's Leave callback |
void | Terminal_SetOnGuiFunction(const tString &in asName, const tString &in asCallback) Set the terminal's GUI method |
void | Terminal_SetShowMouse(const tString &in asPropName, bool abShow) |
void | Terminal_SetUnlockFPS(const tString &in asName, bool abX) |
void | Terminal_SetUpdateWhenOutOfView(const tString &in asName, bool abX) Set if the terminal should update when not visible |
void | Terminal_StopImGuiFade(const tString &in asPropName, const tString &in asVarName) |
Function Detail
Terminal_FadeImGuiStateColor
void Terminal_FadeImGuiStateColor(const tString &in asPropName,
const tString &in asVarName,
cColor aGoalVal,
float afTime,
eEasing aType = eEasing_QuadInOut,
bool abReplaceIfExist = true)
Parameters
- asPropName (tString) —
- asVarName (tString) —
- aGoalVal (cColor) —
- afTime (float) —
- aType (eEasing) —
- abReplaceIfExist (bool) —
Returns:
- void
Terminal_FadeImGuiStateFloat
void Terminal_FadeImGuiStateFloat(const tString &in asPropName,
const tString &in asVarName,
float afGoalVal,
float afTime,
eEasing aType = eEasing_QuadInOut,
bool abReplaceIfExist = true)
Parameters
- asPropName (tString) —
- asVarName (tString) —
- afGoalVal (float) —
- afTime (float) —
- aType (eEasing) —
- abReplaceIfExist (bool) —
Returns:
- void
Terminal_FadeImGuiStateVector3f
void Terminal_FadeImGuiStateVector3f(const tString &in asPropName,
const tString &in asVarName,
cVector3f avGoalVal,
float afTime,
eEasing aType = eEasing_QuadInOut,
bool abReplaceIfExist = true)
Parameters
- asPropName (tString) —
- asVarName (tString) —
- avGoalVal (cVector3f) —
- afTime (float) —
- aType (eEasing) —
- abReplaceIfExist (bool) —
Returns:
- void
Terminal_ForceCacheUpdate
void Terminal_ForceCacheUpdate(const tString &in asName)
Forces the terminal to update its cache. Used to stop drastic changes to the look of a
GUI from popping into view when the terminal switches from cache to normal rendering.
Parameters
- asName (tString) —
Returns:
- void
Terminal_GetImGuiStateBool
Terminal_GetImGuiStateColor
Terminal_GetImGuiStateFloat
Terminal_GetImGuiStateInt
Terminal_GetImGuiStateVector3f
Terminal_IncImGuiStateColor
Terminal_IncImGuiStateFloat
Terminal_IncImGuiStateInt
Terminal_IncImGuiStateVector3f
Terminal_IsGuiActive
bool Terminal_IsGuiActive(const tString &in asName)
Get if the terminal GUI is active.
Parameters
- asName (tString) —
Returns:
- bool—
Terminal_SetAllowInteraction
void Terminal_SetAllowInteraction(const tString &in asName,
bool abX)
Set if the terminal should allow interaction from player
Parameters
- asName (tString) —
- abX (bool) —
Returns:
- void
Terminal_SetEnterCallback
Terminal_SetFPSWhenIdle
void Terminal_SetFPSWhenIdle(const tString &in asName,
float afFPS)
Sets the FPS of the terminal when not in focus.
Parameters
- asName (tString) —
- afFPS (float) —
Returns:
- void
Terminal_SetGuiActive
void Terminal_SetGuiActive(const tString &in asName,
bool abX,
float afFadeTime = 0.0f)
Set if the terminal should visible. If off, the offline color is used.
Parameters
- asName (tString) —
- abX (bool) —
- afFadeTime (float) —
Returns:
- void
Terminal_SetImGuiStateBool
Terminal_SetImGuiStateColor
Terminal_SetImGuiStateFloat
Terminal_SetImGuiStateInt
Terminal_SetImGuiStateVector3f
Terminal_SetLeaveCallback
Terminal_SetOnGuiFunction
Terminal_SetShowMouse
void Terminal_SetShowMouse(const tString &in asPropName,
bool abShow)
Parameters
- asPropName (tString) —
- abShow (bool) —
Returns:
- void
Terminal_SetUnlockFPS
void Terminal_SetUnlockFPS(const tString &in asName,
bool abX)
Parameters
- asName (tString) —
- abX (bool) —
Returns:
- void
Terminal_SetUpdateWhenOutOfView
void Terminal_SetUpdateWhenOutOfView(const tString &in asName,
bool abX)
Set if the terminal should update when not visible. Use sparingly.
Parameters
- asName (tString) —
- abX (bool) —
Returns:
- void