HPL3/Amnesia: Rebirth/Scripting/cLuxHeadTracker

From Frictional Wiki
< HPL3‎ | Amnesia: Rebirth‎ | Scripting
Revision as of 23:32, 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== cLuxHeadTracker has no public fields. ==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

cLuxHeadTracker has no public fields.

Functions

Return Type Function And Description
iLuxEntity GetEntity()
float GetMaxAngle()
int GetType()
bool IsActive()
void LoadFromVariables(cResourceVarsObject@ apVars)
void SetActive(bool abX)
void SetAngleOffset(float afX)
void SetMaxAngle(float afX)
void SetMoveMaxSpeed(float afX)
void SetMoveSpeedMul(float afX)
void SetTrackEntity(iLuxEntity@ apEntity)
void Setup(array<tString> avBoneNames, array<float> avBoneMuls)

Details

GetEntity

iLuxEntity@ GetEntity()

Returns:

  • iLuxEntity@

GetMaxAngle

float GetMaxAngle()

Returns:

  • float

GetType

int GetType()

Returns:

  • int

IsActive

bool IsActive()

Returns:

  • bool

LoadFromVariables

void LoadFromVariables(cResourceVarsObject@ apVars)


Parameters

Returns:

  • void

SetActive

void SetActive(bool abX)


Parameters

  • abX (bool) —

Returns:

  • void

SetAngleOffset

void SetAngleOffset(float afX)


Parameters

  • afX (float) —

Returns:

  • void

SetMaxAngle

void SetMaxAngle(float afX)


Parameters

  • afX (float) —

Returns:

  • void

SetMoveMaxSpeed

void SetMoveMaxSpeed(float afX)


Parameters

  • afX (float) —

Returns:

  • void

SetMoveSpeedMul

void SetMoveSpeedMul(float afX)


Parameters

  • afX (float) —

Returns:

  • void

SetTrackEntity

void SetTrackEntity(iLuxEntity@ apEntity)


Parameters

Returns:

  • void

Setup

void Setup(tString avBoneNames,
           float avBoneMuls)


Parameters

  • avBoneNames (tString) —
  • avBoneMuls (float) —

Returns:

  • void

References

See all references...