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

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== cCamera has no public fields. ==Function...")
 
 
Line 144: Line 144:
 
| <syntaxhighlight lang="c++" inline>void</syntaxhighlight> || UnProject || [[../cVector3f|<syntaxhighlight lang="c++" inline>cVector3f& avPosition</syntaxhighlight>]],<br />[[../cVector3f|<syntaxhighlight lang="c++" inline>cVector3f& apDirection</syntaxhighlight>]],<br />[[../cVector2f|<syntaxhighlight lang="c++" inline>const cVector2f &in avScreenPos</syntaxhighlight>]],<br />[[../cVector2f|<syntaxhighlight lang="c++" inline>const cVector2f &in avVirtualScreenSize</syntaxhighlight>]] ||
 
| <syntaxhighlight lang="c++" inline>void</syntaxhighlight> || UnProject || [[../cVector3f|<syntaxhighlight lang="c++" inline>cVector3f& avPosition</syntaxhighlight>]],<br />[[../cVector3f|<syntaxhighlight lang="c++" inline>cVector3f& apDirection</syntaxhighlight>]],<br />[[../cVector2f|<syntaxhighlight lang="c++" inline>const cVector2f &in avScreenPos</syntaxhighlight>]],<br />[[../cVector2f|<syntaxhighlight lang="c++" inline>const cVector2f &in avVirtualScreenSize</syntaxhighlight>]] ||
 
|}
 
|}
 +
 +
{{ReferencesSection}}
  
 
{{HPL3SOMAScriptingCategories}}
 
{{HPL3SOMAScriptingCategories}}
 
__FORCETOC__
 
__FORCETOC__

Latest revision as of 14:24, 6 August 2020

Have some helpful descriptions to add to this class? Edit this page and add your insight to the Wiki!

Fields

cCamera has no public fields.

Functions

Return Type Function Name Parameters Description
void AddPitch float afAngle
void AddRoll float afAngle
void AddYaw float afAngle
void AttachEntity iEntity3D@ aEntity
void ClearAttachedEntities
float GetAspect
cNode3D@ GetAttachmentNode
cFrustum@+ GetExtendedFrustum
float GetExtendedPitch
float GetExtendedYaw
float GetExtenededRoll
float GetFarClipPlane
cVector3f GetForward
float GetFOV
cFrustum@+ GetFrustum
bool GetInifintiveFarPlane
const cMatrixf& GetMatrix
const cMatrixf& GetMoveMatrix
eCameraMoveMode GetMoveMode
float GetNearClipPlane
const cVector2f& GetOrthoViewSize
float GetPitch
float GetPitchMaxLimit
float GetPitchMinLimit
const cVector3f& GetPosition
const cMatrixf& GetProjectionMatrix
eProjectionType GetProjectionType
cVector3f GetRight
float GetRoll
eCameraRotateMode GetRotateMode
const cMatrixf& GetRotationMatrix
cVector3f GetUp
const cVector3f& GetVelocity
const cMatrixf& GetViewMatrix
float GetYaw
float GetYawMaxLimit
float GetYawMinLimit
void MoveForward float afDist
void MoveRight float afDist
void MoveUp float afDist
void RemoveEntity iEntity3D@ aEntity
void ResetRotation
void SetAspect float afSpect
void SetExtendedPitch float afAngle
void SetExtendedRoll float afAngle
void SetExtendedYaw float afAngle
void SetFarClipPlane float afX
void SetForward const cVector3f &in avX
void SetFOV float afAngle
void SetInifintiveFarPlane bool abX
void SetMoveMode eCameraMoveMode aMode
void SetNearClipPlane float afX
void SetOrthoViewSize const cVector2f& avSize
void SetPitch float afAngle
void SetPitchLimits float afMin,
float afMax
void SetPosition const cVector3f &in avPos
void SetProjectionType eProjectionType aType
void SetRight const cVector3f &in avX
void SetRoll float afAngle
void SetRotateMode eCameraRotateMode aMode
void SetRotationMatrix const cMatrixf &in a_mtxRot
void SetUp const cVector3f &in avX
void SetVelocity const cVector3f &in avVel
void SetYaw float afAngle
void SetYawLimits float afMin,
float afMax
void UnProject cVector3f& avPosition,
cVector3f& apDirection,
const cVector2f &in avScreenPos,
const cVector2f &in avVirtualScreenSize

References

See all references...