HPL3/Amnesia: Rebirth/Scripting/cVector2f

From Frictional Wiki
< HPL3‎ | Amnesia: Rebirth‎ | Scripting
Revision as of 22:58, 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== {{CodeDocSummaryTop|Field Type|Field Name...")
(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

Field Type Field Name And Description
float x
float y

Functions

Return Type Function And Description
float GetElement(uint64 alIdx)
float Length()
float Normalize()
void SetElement(uint64 alIdx, float )
float SqrLength()

Details

GetElement

float GetElement(uint64 alIdx)


Parameters

  • alIdx (uint64) —

Returns:

  • float—

Length

float Length()

Returns:

  • float—

Normalize

float Normalize()

Returns:

  • float—

SetElement

void SetElement(uint64 alIdx,
                float )


Parameters

  • alIdx (uint64) —
  • ' (float) —

Returns:

  • void

SqrLength

float SqrLength()

Returns:

  • float—

x

float x

y

float y

References

See all references...