Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
CameraBase.c
Go to the documentation of this file.
1/*
2===========================================
3Do not modify, this script is generated
4===========================================
5*/
6
11
12class CameraBaseClass: GenericEntityClass
13{
14}
15
16class 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
EDamageType type
proto external bool IsAABBVisible(vector mins, vector maxs)
Test if the AABB is visible against the view frustum of the camera.
void CameraDeactivate()
Called the moment this camera is deactivated by CameraManager.
proto external IEntity GetCursorTargetWithPosition(out vector outPosition)
proto external bool IsSphereVisible(vector origin, float radius)
Test if the sphere is visible against the view frustum of the camera.
CameraBaseClass GenericEntityClass ApplyTransform(float timeslice)
Manually applies transformation. This is usually done in EOnPostFrame automatically.
proto external void SetNearPlane(float nearPlane)
proto external void GetWorldCameraTransform(out vector mat[4])
Get current camera world transformation.
proto external float GetFarPlane()
proto external float GetVerticalFOV()
proto external CameraType GetProjType()
Get projection type.
void CameraActivate()
Called the moment this camera is activated by CameraManager.
proto external int GetCameraIndex()
proto external void SetCameraIndex(int cameraIndex)
proto external float GetNearPlane()
proto external IEntity GetCursorTarget()
proto external void SetVerticalFOV(float fov)
proto external void SetLensFlareSet(CameraLensFlareSetType type, string userName)
proto external void SetFarPlane(float farPlane)
proto external void SetFOVDegree(float fovDegrees)
CameraLensFlareSetType
Type of the camera lens flare set.
CameraType
Definition CameraType.c:14