Difference between revisions of "HPL3/SOMA/Scripting/cFrustum"

From Frictional Wiki
< HPL3‎ | SOMA‎ | 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. ==Functio...")
 
 
Line 74: Line 74:
 
| <syntaxhighlight lang="c++" inline>void</syntaxhighlight> || SetupPerspectiveProj || [[../cMatrixf|<syntaxhighlight lang="c++" inline>const cMatrixf &in a_mtxProj</syntaxhighlight>]],<br />[[../cMatrixf|<syntaxhighlight lang="c++" inline>const cMatrixf &in a_mtxView</syntaxhighlight>]],<br /><syntaxhighlight lang="c++" inline>float afFarPlane</syntaxhighlight>,<br /><syntaxhighlight lang="c++" inline>float afNearPlane</syntaxhighlight>,<br /><syntaxhighlight lang="c++" inline>float afFOV</syntaxhighlight>,<br /><syntaxhighlight lang="c++" inline>float afAspect</syntaxhighlight>,<br />[[../cVector3f|<syntaxhighlight lang="c++" inline>const cVector3f& avOrigin</syntaxhighlight>]] ||
 
| <syntaxhighlight lang="c++" inline>void</syntaxhighlight> || SetupPerspectiveProj || [[../cMatrixf|<syntaxhighlight lang="c++" inline>const cMatrixf &in a_mtxProj</syntaxhighlight>]],<br />[[../cMatrixf|<syntaxhighlight lang="c++" inline>const cMatrixf &in a_mtxView</syntaxhighlight>]],<br /><syntaxhighlight lang="c++" inline>float afFarPlane</syntaxhighlight>,<br /><syntaxhighlight lang="c++" inline>float afNearPlane</syntaxhighlight>,<br /><syntaxhighlight lang="c++" inline>float afFOV</syntaxhighlight>,<br /><syntaxhighlight lang="c++" inline>float afAspect</syntaxhighlight>,<br />[[../cVector3f|<syntaxhighlight lang="c++" inline>const cVector3f& avOrigin</syntaxhighlight>]] ||
 
|}
 
|}
 +
 +
{{ReferencesSection}}
  
 
{{HPL3SOMAScriptingCategories}}
 
{{HPL3SOMAScriptingCategories}}
 
__FORCETOC__
 
__FORCETOC__

Latest revision as of 14:31, 6 August 2020

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.

Functions

Return Type Function Name Parameters Description
bool CheckAABBNearPlaneIntersection const cVector3f& avMin,
const cVector3f& avMax
bool CheckBVNearPlaneIntersection cBoundingVolume@+ aBV
bool CheckFrustumNearPlaneIntersection cFrustum@+ aFrustum
bool CheckLineIntersection const cVector3f &in avStart,
const cVector3f& avEnd,
cVector3f& avIntersection
bool CheckPyramidNearPlaneIntersection cFrustum@+ aFrustum
bool CheckSphereNearPlaneIntersection const cVector3f& avCenter,
float afRadius
eCollision CollideAABB const cVector3f &in avMin,
const cVector3f &in avMax,
int alMaxPlanes
eCollision CollideBoundingVolume cBoundingVolume@+ apBV
eCollision CollideFrustum cFrustum@+ apFrustum
eCollision CollideFustrumSphere const cVector3f &in avCenter,
float afRadius
bool CollidePoint const cVector3f &in avPoint
eCollision CollideSphere const cVector3f &in avCenter,
float afRadius,
int alMaxPlanes
float GetAspect
const cBoundingVolume@+ GetBoundingVolume
float GetFarPlane
cVector3f GetForward
float GetFOV
bool GetInfFarPlane
bool GetInvertsCullMode
float GetNearPlane
const cVector3f& GetOrigin
cBoundingVolume@+ GetOriginBV
const cVector2f& GetOrthoViewSize
const cPlanef& GetPlane eFrustumPlane aType
const cMatrixf& GetProjectionMatrix
eProjectionType GetProjectionType
const cVector3f& GetVertex int alIdx
const cMatrixf& GetViewMatrix
void SetInvertsCullMode bool abX
void SetupOrthoProj const cMatrixf &in a_mtxProj,
const cMatrixf &in a_mtxView,
float afFarPlane,
float afNearPlane,
const cVector2f& avViewSize,
const cVector3f& avOrigin
void SetupPerspectiveProj const cMatrixf &in a_mtxProj,
const cMatrixf &in a_mtxView,
float afFarPlane,
float afNearPlane,
float afFOV,
float afAspect,
const cVector3f& avOrigin

References

See all references...