![]() |
Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Classes | |
| class | BaseScriptedCameraItem |
| class | BaseScriptedCameraSet |
| class | CameraBaseClass |
| class | CameraHandlerComponent |
| class | CameraHandlerComponentClass |
| class | CameraManagerClass |
| class | PlayerCameraClass |
| class | ScriptedCameraBaseClass |
Functions | |
| CameraBaseClass GenericEntityClass | 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 () |
| proto external IEntity | GetCursorTargetWithPosition (out vector outPosition) |
| proto external CameraType | GetProjType () |
| Get projection type. | |
| proto external float | GetVerticalFOV () |
| proto external float | GetNearPlane () |
| proto external float | GetFarPlane () |
| proto external void | SetFOVDegree (float fovDegrees) |
| proto external void | SetVerticalFOV (float fov) |
| proto external void | SetNearPlane (float nearPlane) |
| proto external void | SetFarPlane (float farPlane) |
| proto external void | SetCameraIndex (int cameraIndex) |
| proto external int | GetCameraIndex () |
| proto external void | SetLensFlareSet (CameraLensFlareSetType type, string userName) |
| 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. | |
| void | CameraActivate () |
| Called the moment this camera is activated by CameraManager. | |
| void | CameraDeactivate () |
| Called the moment this camera is deactivated by CameraManager. | |
| CameraManagerClass GenericEntityClass | CurrentCamera () |
| Returns the current camera. | |
| proto external bool | SetCamera (CameraBase pCam) |
| proto external void | SetNextCamera () |
| Set the next camera in the list as current camera. | |
| proto external void | SetPreviousCamera () |
| Set the previous camera in the list as current camera. | |
| proto external int | GetCamerasList (out notnull array< CameraBase > outCameras) |
| proto external void | SetOverlayCamera (CameraBase pCam) |
| proto external CameraBase | GetOverlayCamera () |
| proto external void | SetFirstPersonFOV (float fieldOfView) |
| proto external float | GetFirstPersonFOV () |
| proto external void | SetThirdPersonFOV (float fieldOfView) |
| proto external float | GetThirdPersonFOV () |
| proto external void | SetVehicleFOV (float fieldOfView) |
| proto external float | GetVehicleFOV () |
| proto external float | GetClampedFOV (float fieldOfView) |
| proto external float | GetMinFOV () |
| proto external float | GetMaxFOV () |
| void | OnInit () |
| PlayerCameraClass CameraBaseClass | GetFocusMode () |
| Returns the current value of focus mode in the <0,1> range. | |
| proto external float | GetFocusFOV () |
| Returns the focus field of view in degrees. | |
| proto external float | GetFocusFOVScale (float baseFOV, float scalar) |
| Returns interpolated value from baseFOV to focusFOV based on the input scalar value. | |
| CameraBaseClass GenericEntityClass ApplyTransform | ( | float | timeslice | ) |
Manually applies transformation. This is usually done in EOnPostFrame automatically.
|
protected |
Called the moment this camera is activated by CameraManager.
|
protected |
Called the moment this camera is deactivated by CameraManager.
| CameraManagerClass GenericEntityClass CurrentCamera | ( | ) |
Returns the current camera.
| proto external int GetCameraIndex | ( | ) |
Get the current camera index.
| proto external int GetCamerasList | ( | out notnull array< CameraBase > | outCameras | ) |
Return the list of all cameras
| outCameras | List where all cameras will be inserted. |
Returns value clamped between min and max settings.
| proto external IEntity GetCursorTarget | ( | ) |
Performs a raycast from the center of this camera in the forward direction. (result is cached within single frame and reused if called multiple times)
Performs a raycast from the center of this camera in the forward direction. (result is cached within single frame and reused if called multiple times)
| outPosition | Position of the ray and target intersect point. |
| proto external float GetFarPlane | ( | ) |
Get the current far plane clipping value.
| proto external float GetFirstPersonFOV | ( | ) |
Returns default first person field of view.
| proto external float GetFocusFOV | ( | ) |
Returns the focus field of view in degrees.
Returns interpolated value from baseFOV to focusFOV based on the input scalar value.
| PlayerCameraClass CameraBaseClass GetFocusMode | ( | ) |
Returns the current value of focus mode in the <0,1> range.
| proto external float GetMaxFOV | ( | ) |
Returns maximum allowed field of view value.
| proto external float GetMinFOV | ( | ) |
Returns minimum allowed field of view value.
| proto external float GetNearPlane | ( | ) |
Get the current near plane clipping value.
| proto external CameraBase GetOverlayCamera | ( | ) |
Get the current overlay camera
| proto external CameraType GetProjType | ( | ) |
Get projection type.
| proto external float GetThirdPersonFOV | ( | ) |
Returns default third person field of view.
| proto external float GetVehicleFOV | ( | ) |
Returns default vehicle field of view.
| proto external float GetVerticalFOV | ( | ) |
Get the vertical FOV.
| proto external void GetWorldCameraTransform | ( | out vector | mat[4] | ) |
Get current camera world transformation.
Test if the AABB is visible against the view frustum of the camera.
Test if the sphere is visible against the view frustum of the camera.
|
protected |
Called on initialization.
| proto external bool SetCamera | ( | CameraBase | pCam | ) |
Set the current camera, it should be alreday registered in this Camera Manager.
| cam | Camera which will be the new camera used. |
| proto external void SetCameraIndex | ( | int | cameraIndex | ) |
Set the current camera index.
| cameraIndex | The new camera index. |
| proto external void SetFarPlane | ( | float | farPlane | ) |
Set the current far plane value.
| farPlane | The new far plane value in meters. |
| proto external void SetFirstPersonFOV | ( | float | fieldOfView | ) |
Sets default first person field of view.
| proto external void SetFOVDegree | ( | float | fovDegrees | ) |
Set full symmetrical vertical FOV in degrees.
| fovDegrees | Vertical FOV in degrees. |
| proto external void SetLensFlareSet | ( | CameraLensFlareSetType | type, |
| string | userName ) |
Sets camera lens flare set
| type | type of the lens flare set |
| userSetName | user name of the lens flare set (used only when type is set to User) |
| proto external void SetNearPlane | ( | float | nearPlane | ) |
Set the current near plane clipping value.
| nearPlane | The new near plane value in meters. |
| proto external void SetNextCamera | ( | ) |
Set the next camera in the list as current camera.
| proto external void SetOverlayCamera | ( | CameraBase | pCam | ) |
Set the current overlay camera
| pCamera | Camera which will be the new overlay camera. |
| proto external void SetPreviousCamera | ( | ) |
Set the previous camera in the list as current camera.
| proto external void SetThirdPersonFOV | ( | float | fieldOfView | ) |
Sets default first person field of view.
| proto external void SetVehicleFOV | ( | float | fieldOfView | ) |
Sets default vehicle field of view.
| proto external void SetVerticalFOV | ( | float | fov | ) |
Set the vertical FOV.
| fov | FOV in degrees. |