HPL3/Amnesia: Rebirth/Scripting/cMatrixf

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

cMatrixf has no public fields.

Functions

Return Type Function And Description
float GetElement(uint64 , uint64 )
cVector3f GetForward()
cVector3f GetRight()
cMatrixf GetRotation()
cVector3f GetTranslation()
cMatrixf GetTranspose()
cVector3f GetUp()
void SetForward(const cVector3f &in avVec)
void SetRight(const cVector3f &in avVec)
void SetRotation(float afXX, float afXY, float afXZ, float afYX, float afYY, float afYZ, float afZX, float afZY, float afZZ)
void SetRotation(const cMatrixf &in a_mtxRot)
void SetTranslation(const cVector3f &in avTrans)
void SetUp(const cVector3f &in avVec)

Details

GetElement

float GetElement(uint64 ,
                 uint64 )


Parameters

  • ' (uint64) —
  • ' (uint64) —

Returns:

  • float

GetForward

cVector3f GetForward()

Returns:

  • cVector3f

GetRight

cVector3f GetRight()

Returns:

  • cVector3f

GetRotation

cMatrixf GetRotation()

Returns:

  • cMatrixf

GetTranslation

cVector3f GetTranslation()

Returns:

  • cVector3f

GetTranspose

cMatrixf GetTranspose()

Returns:

  • cMatrixf

GetUp

cVector3f GetUp()

Returns:

  • cVector3f

SetForward

void SetForward(const cVector3f &in avVec)


Parameters

Returns:

  • void

SetRight

void SetRight(const cVector3f &in avVec)


Parameters

Returns:

  • void

SetRotation

void SetRotation(float afXX,
                 float afXY,
                 float afXZ,
                 float afYX,
                 float afYY,
                 float afYZ,
                 float afZX,
                 float afZY,
                 float afZZ)


Parameters

  • afXX (float) —
  • afXY (float) —
  • afXZ (float) —
  • afYX (float) —
  • afYY (float) —
  • afYZ (float) —
  • afZX (float) —
  • afZY (float) —
  • afZZ (float) —

Returns:

  • void

SetRotation

void SetRotation(const cMatrixf &in a_mtxRot)


Parameters

Returns:

  • void

SetTranslation

void SetTranslation(const cVector3f &in avTrans)


Parameters

Returns:

  • void

SetUp

void SetUp(const cVector3f &in avVec)


Parameters

Returns:

  • void

References

See all references...