HPL3/Amnesia: Rebirth/Scripting/cBoundingVolume

From Frictional Wiki
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

cBoundingVolume has no public fields.

Functions

Return Type Function And Description
cVector3f GetLocalCenter()
cVector3f GetLocalMax()
cVector3f GetLocalMin()
cVector3f GetMax()
cVector3f GetMin()
cVector3f GetPosition()
float GetRadius()
cVector3f GetSize()
cMatrixf GetTransform()
cVector3f GetWorldCenter()
void SetLocalMinMax(const cVector3f &in mvMin, const cVector3f &in mvMax, bool abUpdateSize = true)
void SetPosition(const cVector3f &in avPos)
void SetSize(const cVector3f &in avSize, bool abUpdateSize = true)
void SetTransform(const cMatrixf &in a_mtxTransform, bool abUpdateSize = true)

Details

GetLocalCenter

cVector3f GetLocalCenter()

Returns:

  • cVector3f

GetLocalMax

const cVector3f& GetLocalMax()

Returns:

  • const cVector3f&

GetLocalMin

const cVector3f& GetLocalMin()

Returns:

  • const cVector3f&

GetMax

cVector3f GetMax()

Returns:

  • cVector3f

GetMin

cVector3f GetMin()

Returns:

  • cVector3f

GetPosition

cVector3f GetPosition()

Returns:

  • cVector3f

GetRadius

float GetRadius()

Returns:

  • float

GetSize

cVector3f GetSize()

Returns:

  • cVector3f

GetTransform

const cMatrixf& GetTransform()

Returns:

  • const cMatrixf&

GetWorldCenter

cVector3f GetWorldCenter()

Returns:

  • cVector3f

SetLocalMinMax

void SetLocalMinMax(const cVector3f &in mvMin,
                    const cVector3f &in mvMax,
                    bool abUpdateSize = true)


Parameters

Returns:

  • void

SetPosition

void SetPosition(const cVector3f &in avPos)


Parameters

Returns:

  • void

SetSize

void SetSize(const cVector3f &in avSize,
             bool abUpdateSize = true)


Parameters

  • avSize (cVector3f) —
  • abUpdateSize (bool) —

Returns:

  • void

SetTransform

void SetTransform(const cMatrixf &in a_mtxTransform,
                  bool abUpdateSize = true)


Parameters

  • a_mtxTransform (cMatrixf) —
  • abUpdateSize (bool) —

Returns:

  • void

References

See all references...