Difference between revisions of "HPL3/Amnesia: Rebirth/Scripting/cFrustum"
< HPL3 | Amnesia: Rebirth | Scripting
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! ==Fields== cFrustum has no public fields. ==Function...") |
(No difference)
|
Latest revision as of 22:09, 15 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!
Contents
- 1 Fields
- 2 Functions
- 3 Details
- 3.1 CheckAABBNearPlaneIntersection
- 3.2 CheckBVNearPlaneIntersection
- 3.3 CheckFrustumNearPlaneIntersection
- 3.4 CheckLineIntersection
- 3.5 CheckPyramidNearPlaneIntersection
- 3.6 CheckSphereNearPlaneIntersection
- 3.7 CollideAABB
- 3.8 CollideBoundingVolume
- 3.9 CollideFrustum
- 3.10 CollideFustrumSphere
- 3.11 CollidePoint
- 3.12 CollideSphere
- 3.13 GetAspect
- 3.14 GetBoundingVolume
- 3.15 GetFarPlane
- 3.16 GetForward
- 3.17 GetFOV
- 3.18 GetInfFarPlane
- 3.19 GetInvertsCullMode
- 3.20 GetNearPlane
- 3.21 GetOrigin
- 3.22 GetOriginBV
- 3.23 GetOrthoViewSize
- 3.24 GetPlane
- 3.25 GetProjectionMatrix
- 3.26 GetProjectionType
- 3.27 GetVertex
- 3.28 GetViewMatrix
- 3.29 SetInvertsCullMode
- 3.30 SetupOrthoProj
- 3.31 SetupPerspectiveProj
- 4 References
Fields
cFrustum has no public fields.
Functions
Details
CheckAABBNearPlaneIntersection
CheckBVNearPlaneIntersection
bool CheckBVNearPlaneIntersection(cBoundingVolume@+ aBV)
Parameters
- aBV (cBoundingVolume@+) —
Returns:
- bool—
CheckFrustumNearPlaneIntersection
bool CheckFrustumNearPlaneIntersection(cFrustum@+ aFrustum)
Parameters
- aFrustum (cFrustum@+) —
Returns:
- bool—
CheckLineIntersection
CheckPyramidNearPlaneIntersection
bool CheckPyramidNearPlaneIntersection(cFrustum@+ aFrustum)
Parameters
- aFrustum (cFrustum@+) —
Returns:
- bool—
CheckSphereNearPlaneIntersection
bool CheckSphereNearPlaneIntersection(const cVector3f &in avCenter,
float afRadius)
Parameters
- avCenter (cVector3f) —
- afRadius (float) —
Returns:
- bool—
CollideAABB
CollideBoundingVolume
eCollision CollideBoundingVolume(cBoundingVolume@+ apBV)
Parameters
- apBV (cBoundingVolume@+) —
Returns:
- eCollision—
CollideFrustum
eCollision CollideFrustum(cFrustum@+ apFrustum)
Parameters
- apFrustum (cFrustum@+) —
Returns:
- eCollision—
CollideFustrumSphere
eCollision CollideFustrumSphere(const cVector3f &in avCenter,
float afRadius)
Parameters
- avCenter (cVector3f) —
- afRadius (float) —
Returns:
- eCollision—
CollidePoint
CollideSphere
eCollision CollideSphere(const cVector3f &in avCenter,
float afRadius,
int alMaxPlanes)
Parameters
- avCenter (cVector3f) —
- afRadius (float) —
- alMaxPlanes (int) —
Returns:
- eCollision—
GetAspect
float GetAspect()
Returns:
- float—
GetBoundingVolume
const cBoundingVolume@+ GetBoundingVolume()
Returns:
- const cBoundingVolume@+—
GetFarPlane
float GetFarPlane()
Returns:
- float—
GetForward
cVector3f GetForward()
Returns:
- cVector3f—
GetFOV
float GetFOV()
Returns:
- float—
GetInfFarPlane
bool GetInfFarPlane()
Returns:
- bool—
GetInvertsCullMode
bool GetInvertsCullMode()
Returns:
- bool—
GetNearPlane
float GetNearPlane()
Returns:
- float—
GetOrigin
const cVector3f& GetOrigin()
Returns:
- const cVector3f&—
GetOriginBV
cBoundingVolume@+ GetOriginBV()
Returns:
- cBoundingVolume@+—
GetOrthoViewSize
const cVector2f& GetOrthoViewSize()
Returns:
- const cVector2f&—
GetPlane
const cPlanef& GetPlane(eFrustumPlane aType)
Parameters
- aType (eFrustumPlane) —
Returns:
- const cPlanef&—
GetProjectionMatrix
const cMatrixf& GetProjectionMatrix()
Returns:
- const cMatrixf&—
GetProjectionType
eProjectionType GetProjectionType()
Returns:
- eProjectionType—
GetVertex
const cVector3f& GetVertex(int alIdx)
Parameters
- alIdx (int) —
Returns:
- const cVector3f&—
GetViewMatrix
const cMatrixf& GetViewMatrix()
Returns:
- const cMatrixf&—
SetInvertsCullMode
void SetInvertsCullMode(bool abX)
Parameters
- abX (bool) —
Returns:
- void
SetupOrthoProj
void SetupOrthoProj(const cMatrixf &in a_mtxProj,
const cMatrixf &in a_mtxView,
float afFarPlane,
float afNearPlane,
const cVector2f &in avViewSize,
const cVector3f &in avOrigin)
Parameters
- a_mtxProj (cMatrixf) —
- a_mtxView (cMatrixf) —
- afFarPlane (float) —
- afNearPlane (float) —
- avViewSize (cVector2f) —
- avOrigin (cVector3f) —
Returns:
- void
SetupPerspectiveProj
void SetupPerspectiveProj(const cMatrixf &in a_mtxProj,
const cMatrixf &in a_mtxView,
float afFarPlane,
float afNearPlane,
float afFOV,
float afAspect,
const cVector3f &in avOrigin)
Parameters
- a_mtxProj (cMatrixf) —
- a_mtxView (cMatrixf) —
- afFarPlane (float) —
- afNearPlane (float) —
- afFOV (float) —
- afAspect (float) —
- avOrigin (cVector3f) —
Returns:
- void
References
- HPL3/Amnesia: Rebirth/Scripting/Scripting Api (← links)
- HPL3/Amnesia: Rebirth/Scripting/cBeam (← links)
- HPL3/Amnesia: Rebirth/Scripting/cBillboard (← links)
- HPL3/Amnesia: Rebirth/Scripting/cCamera (← links)
- HPL3/Amnesia: Rebirth/Scripting/cClothEntity (← links)
- HPL3/Amnesia: Rebirth/Scripting/cFogArea (← links)
- HPL3/Amnesia: Rebirth/Scripting/cForceField (← links)
- HPL3/Amnesia: Rebirth/Scripting/cLensFlare (← links)
- HPL3/Amnesia: Rebirth/Scripting/cLightBox (← links)
- HPL3/Amnesia: Rebirth/Scripting/cLightDirectional (← links)
- HPL3/Amnesia: Rebirth/Scripting/cLightPoint (← links)
- HPL3/Amnesia: Rebirth/Scripting/cLightSpot (← links)
- HPL3/Amnesia: Rebirth/Scripting/cRopeEntity3D (← links)
- HPL3/Amnesia: Rebirth/Scripting/cRopeEntityBillboard (← links)
- HPL3/Amnesia: Rebirth/Scripting/cSubMeshEntity (← links)
- HPL3/Amnesia: Rebirth/Scripting/iLight (← links)
- HPL3/Amnesia: Rebirth/Scripting/iRenderableEntity (← links)
- HPL3/Amnesia: Rebirth/Scripting/iRopeEntity (← links)
- HPL3/Amnesia: Rebirth/Scripting/Scripting Api/cMath (← links)