Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
CameraBase.c
Go to the documentation of this file.
1 /*
2 ===========================================
3 Do not modify, this script is generated
4 ===========================================
5 */
6 
12 class CameraBaseClass: GenericEntityClass
13 {
14 }
15 
16 class CameraBase: GenericEntity
17 {
19  proto external void ApplyTransform(float timeslice);
21  proto external void GetWorldCameraTransform(out vector mat[4]);
26  proto external IEntity GetCursorTarget();
32  proto external IEntity GetCursorTargetWithPosition(out vector outPosition);
34  proto external CameraType GetProjType();
39  proto external float GetVerticalFOV();
44  proto external float GetNearPlane();
49  proto external float GetFarPlane();
54  proto external void SetFOVDegree(float fovDegrees);
59  proto external void SetVerticalFOV(float fov);
64  proto external void SetNearPlane(float nearPlane);
69  proto external void SetFarPlane(float farPlane);
74  proto external void SetCameraIndex(int cameraIndex);
79  proto external int GetCameraIndex();
85  proto external void SetLensFlareSet(CameraLensFlareSetType type, string userName);
87  proto external bool IsAABBVisible(vector mins, vector maxs);
89  proto external bool IsSphereVisible(vector origin, float radius);
90 
91  // callbacks
92 
94  event protected void CameraActivate();
96  event protected void CameraDeactivate();
97 }
98 
SetFOVDegree
proto external void SetFOVDegree(float fovDegrees)
GetCameraIndex
proto external int GetCameraIndex()
IsSphereVisible
proto external bool IsSphereVisible(vector origin, float radius)
Test if the sphere is visible against the view frustum of the camera.
SetVerticalFOV
proto external void SetVerticalFOV(float fov)
SetCameraIndex
proto external void SetCameraIndex(int cameraIndex)
GenericEntity
SCR_GenericBoxEntityClass GenericEntity
CameraDeactivate
event protected void CameraDeactivate()
Called the moment this camera is deactivated by CameraManager.
GetProjType
proto external CameraType GetProjType()
Get projection type.
CameraActivate
event protected void CameraActivate()
Called the moment this camera is activated by CameraManager.
SetLensFlareSet
proto external void SetLensFlareSet(CameraLensFlareSetType type, string userName)
GetFarPlane
proto external float GetFarPlane()
SetFarPlane
proto external void SetFarPlane(float farPlane)
ApplyTransform
CameraBaseClass GenericEntityClass ApplyTransform(float timeslice)
Manually applies transformation. This is usually done in EOnPostFrame automatically.
GetVerticalFOV
proto external float GetVerticalFOV()
GetWorldCameraTransform
proto external void GetWorldCameraTransform(out vector mat[4])
Get current camera world transformation.
GetCursorTargetWithPosition
proto external IEntity GetCursorTargetWithPosition(out vector outPosition)
CameraBaseClass
Definition: CameraBase.c:12
type
EDamageType type
Definition: SCR_DestructibleTreeV2.c:32
SetNearPlane
proto external void SetNearPlane(float nearPlane)
IsAABBVisible
proto external bool IsAABBVisible(vector mins, vector maxs)
Test if the AABB is visible against the view frustum of the camera.
GetCursorTarget
proto external IEntity GetCursorTarget()
GetNearPlane
proto external float GetNearPlane()