HPL3/Amnesia: Rebirth/Scripting/cCamera
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 AddPitch
- 3.2 AddRoll
- 3.3 AddYaw
- 3.4 AttachEntity
- 3.5 ClearAttachedEntities
- 3.6 GetAspect
- 3.7 GetAttachmentNode
- 3.8 GetExtendedFrustum
- 3.9 GetFarClipPlane
- 3.10 GetForward
- 3.11 GetFOV
- 3.12 GetFrustum
- 3.13 GetInifintiveFarPlane
- 3.14 GetMatrix
- 3.15 GetMoveMatrix
- 3.16 GetMoveMode
- 3.17 GetNearClipPlane
- 3.18 GetOrthoViewSize
- 3.19 GetPitch
- 3.20 GetPitchMaxLimit
- 3.21 GetPitchMinLimit
- 3.22 GetPosition
- 3.23 GetProjectionMatrix
- 3.24 GetProjectionType
- 3.25 GetRight
- 3.26 GetRoll
- 3.27 GetRotateMode
- 3.28 GetRotationMatrix
- 3.29 GetUp
- 3.30 GetVelocity
- 3.31 GetViewMatrix
- 3.32 GetYaw
- 3.33 GetYawMaxLimit
- 3.34 GetYawMinLimit
- 3.35 MoveForward
- 3.36 MoveRight
- 3.37 MoveUp
- 3.38 RemoveEntity
- 3.39 ResetRotation
- 3.40 SetAspect
- 3.41 SetFarClipPlane
- 3.42 SetForward
- 3.43 SetFOV
- 3.44 SetInifintiveFarPlane
- 3.45 SetMoveMode
- 3.46 SetNearClipPlane
- 3.47 SetOrthoViewSize
- 3.48 SetPitch
- 3.49 SetPitchLimits
- 3.50 SetPosition
- 3.51 SetProjectionType
- 3.52 SetRight
- 3.53 SetRoll
- 3.54 SetRotateMode
- 3.55 SetRotationMatrix
- 3.56 SetUp
- 3.57 SetVelocity
- 3.58 SetYaw
- 3.59 SetYawLimits
- 3.60 UnProject
- 4 References
Fields
cCamera has no public fields.
Functions
Details
AddPitch
void AddPitch(float afAngle)
Parameters
- afAngle (float) —
Returns:
- void
AddRoll
void AddRoll(float afAngle)
Parameters
- afAngle (float) —
Returns:
- void
AddYaw
void AddYaw(float afAngle)
Parameters
- afAngle (float) —
Returns:
- void
AttachEntity
ClearAttachedEntities
void ClearAttachedEntities()
Returns:
- void
GetAspect
float GetAspect()
Returns:
- float—
GetAttachmentNode
cNode3D@ GetAttachmentNode()
Returns:
- cNode3D@—
GetExtendedFrustum
cFrustum@+ GetExtendedFrustum()
Returns:
- cFrustum@+—
GetFarClipPlane
float GetFarClipPlane()
Returns:
- float—
GetForward
cVector3f GetForward()
Returns:
- cVector3f—
GetFOV
float GetFOV()
Returns:
- float—
GetFrustum
cFrustum@+ GetFrustum()
Returns:
- cFrustum@+—
GetInifintiveFarPlane
bool GetInifintiveFarPlane()
Returns:
- bool—
GetMatrix
const cMatrixf& GetMatrix()
Returns:
- const cMatrixf&—
GetMoveMatrix
const cMatrixf& GetMoveMatrix()
Returns:
- const cMatrixf&—
GetMoveMode
eCameraMoveMode GetMoveMode()
Returns:
- eCameraMoveMode—
GetNearClipPlane
float GetNearClipPlane()
Returns:
- float—
GetOrthoViewSize
const cVector2f& GetOrthoViewSize()
Returns:
- const cVector2f&—
GetPitch
float GetPitch()
Returns:
- float—
GetPitchMaxLimit
float GetPitchMaxLimit()
Returns:
- float—
GetPitchMinLimit
float GetPitchMinLimit()
Returns:
- float—
GetPosition
const cVector3f& GetPosition()
Returns:
- const cVector3f&—
GetProjectionMatrix
const cMatrixf& GetProjectionMatrix()
Returns:
- const cMatrixf&—
GetProjectionType
eProjectionType GetProjectionType()
Returns:
- eProjectionType—
GetRight
cVector3f GetRight()
Returns:
- cVector3f—
GetRoll
float GetRoll()
Returns:
- float—
GetRotateMode
eCameraRotateMode GetRotateMode()
Returns:
- eCameraRotateMode—
GetRotationMatrix
const cMatrixf& GetRotationMatrix()
Returns:
- const cMatrixf&—
GetUp
cVector3f GetUp()
Returns:
- cVector3f—
GetVelocity
const cVector3f& GetVelocity()
Returns:
- const cVector3f&—
GetViewMatrix
const cMatrixf& GetViewMatrix()
Returns:
- const cMatrixf&—
GetYaw
float GetYaw()
Returns:
- float—
GetYawMaxLimit
float GetYawMaxLimit()
Returns:
- float—
GetYawMinLimit
float GetYawMinLimit()
Returns:
- float—
MoveForward
void MoveForward(float afDist)
Parameters
- afDist (float) —
Returns:
- void
MoveRight
void MoveRight(float afDist)
Parameters
- afDist (float) —
Returns:
- void
MoveUp
void MoveUp(float afDist)
Parameters
- afDist (float) —
Returns:
- void
RemoveEntity
ResetRotation
void ResetRotation()
Returns:
- void
SetAspect
void SetAspect(float afSpect)
Parameters
- afSpect (float) —
Returns:
- void
SetFarClipPlane
void SetFarClipPlane(float afX)
Parameters
- afX (float) —
Returns:
- void
SetForward
SetFOV
void SetFOV(float afAngle)
Parameters
- afAngle (float) —
Returns:
- void
SetInifintiveFarPlane
void SetInifintiveFarPlane(bool abX)
Parameters
- abX (bool) —
Returns:
- void
SetMoveMode
SetNearClipPlane
void SetNearClipPlane(float afX)
Parameters
- afX (float) —
Returns:
- void
SetOrthoViewSize
SetPitch
void SetPitch(float afAngle)
Parameters
- afAngle (float) —
Returns:
- void
SetPitchLimits
void SetPitchLimits(float afMin,
float afMax)
Parameters
- afMin (float) —
- afMax (float) —
Returns:
- void
SetPosition
SetProjectionType
SetRight
SetRoll
void SetRoll(float afAngle)
Parameters
- afAngle (float) —
Returns:
- void
SetRotateMode
SetRotationMatrix
SetUp
SetVelocity
SetYaw
void SetYaw(float afAngle)
Parameters
- afAngle (float) —
Returns:
- void
SetYawLimits
void SetYawLimits(float afMin,
float afMax)
Parameters
- afMin (float) —
- afMax (float) —
Returns:
- void