Difference between revisions of "HPL3/Amnesia: Rebirth/Scripting/Scripting Api/Meter"
< HPL3 | Amnesia: Rebirth | Scripting | Scripting Api
Jump to navigation
Jump to search
(Created page with "{{ScriptingStub}} Have some helpful descriptions to add to this class? Edit this page and add your insight to the Wiki! ==Summary== {{CodeDocSummaryTop}} {{CodeDocSummaryIte...") |
(No difference)
|
Latest revision as of 01:06, 16 November 2020
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!
Summary
Return Type | Function and Description |
---|---|
void | Meter_SetShakeMul(const tString &in asName, float afShakeMul) Sets the shake multiplier of the needle object in meter |
void | Meter_SetSpeedMul(const tString &in asName, float afSpeedMul) Sets the speed multiplier of the needle object in meter |
void | Meter_SetState(const tString &in asName, float afState, bool abFadeToState = true) Sets the state of the needle object in meter |
Function Detail
Meter_SetShakeMul
void Meter_SetShakeMul(const tString &in asName,
float afShakeMul)
Sets the shake multiplier of the needle object in meter.
Parameters
- asName (tString) —
- afShakeMul (float) —
Returns:
- void
Meter_SetSpeedMul
void Meter_SetSpeedMul(const tString &in asName,
float afSpeedMul)
Sets the speed multiplier of the needle object in meter.
Parameters
- asName (tString) —
- afSpeedMul (float) —
Returns:
- void
Meter_SetState
void Meter_SetState(const tString &in asName,
float afState,
bool abFadeToState = true)
Sets the state of the needle object in meter. Which then makes the needle move to the specified state.
Parameters
- asName (tString) —
- afState (float) —
- abFadeToState (bool) —
Returns:
- void