Arma Reforger Script API
Loading...
Searching...
No Matches
Public Member Functions | List of all members
SCR_PIPCamera Interface Reference
Inheritance diagram for SCR_PIPCamera:
[legend]

Public Member Functions

void SCR_PIPCamera (IEntitySource src, IEntity parent)
 
override void EOnActivate (IEntity owner)
 
void ApplyProps (int index)
 
void UpdatePIPCamera (float timeSlice)
 
- Public Member Functions inherited from CameraBase
proto external void ApplyTransform (float timeslice)
 Manually applies transformation. This is usually done in EOnPostFrame automatically.
 
proto external void GetWorldCameraTransform (out vector mat[4])
 Get current camera world transformation.
 
proto external IEntity GetCursorTarget ()
 Performs a raycast from the center of this camera in the forward direction.
 
proto external IEntity GetCursorTargetWithPosition (out vector outPosition)
 Performs a raycast from the center of this camera in the forward direction.
 
proto external CameraType GetProjType ()
 Get projection type.
 
proto external float GetVerticalFOV ()
 Get the vertical FOV.
 
proto external float GetNearPlane ()
 Get the current near plane clipping value.
 
proto external float GetFarPlane ()
 Get the current far plane clipping value.
 
proto external void SetFOVDegree (float fovDegrees)
 Set full symmetrical vertical FOV in degrees.
 
proto external void SetVerticalFOV (float fov)
 Set the vertical FOV.
 
proto external void SetNearPlane (float nearPlane)
 Set the current near plane clipping value.
 
proto external void SetFarPlane (float farPlane)
 Set the current far plane value.
 
proto external void SetCameraIndex (int cameraIndex)
 Set the current camera index.
 
proto external int GetCameraIndex ()
 Get the current camera index.
 
proto external void SetLensFlareSet (CameraLensFlareSetType type, string userName)
 Sets camera lens flare set.
 
proto external bool IsAABBVisible (vector mins, vector maxs)
 Test if the AABB is visible against the view frustum of the camera.
 
proto external bool IsSphereVisible (vector origin, float radius)
 Test if the sphere is visible against the view frustum of the camera.
 

Additional Inherited Members

- Protected Member Functions inherited from CameraBase
void CameraActivate ()
 Called the moment this camera is activated by CameraManager.
 
void CameraDeactivate ()
 Called the moment this camera is deactivated by CameraManager.
 

Constructor & Destructor Documentation

◆ SCR_PIPCamera()

void SCR_PIPCamera.SCR_PIPCamera ( IEntitySource  src,
IEntity  parent 
)
Parameters
[in]src
[in]parent

Ooofgly hack. We want to prevent auto-registration. TODO@AS: Proper camera manager support for "overlay" camera

Member Function Documentation

◆ ApplyProps()

void SCR_PIPCamera.ApplyProps ( int  index)
Parameters
[in]indexApply camera base props to camera in world

◆ EOnActivate()

override void SCR_PIPCamera.EOnActivate ( IEntity  owner)

◆ UpdatePIPCamera()

void SCR_PIPCamera.UpdatePIPCamera ( float  timeSlice)
Parameters
[in]timeSliceApply entity transformation to camera in world

The documentation for this interface was generated from the following file: