Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
CameraHandlerComponent.c
Go to the documentation of this file.
1 /*
2 ===========================================
3 Do not modify, this script is generated
4 ===========================================
5 */
6 
12 class CameraHandlerComponentClass: ScriptComponentClass
13 {
14 }
15 
16 class CameraHandlerComponent: ScriptComponent
17 {
18  proto external ScriptedCameraSet GetCameraSet();
20  proto external bool IsInThirdPerson();
22  proto external void SetThirdPerson(bool val);
24  proto external float GetFocusMode();
26  proto external void SetFocusMode(float focusMode);
27  proto external float GetBlendAlpha(ScriptedCameraItem forCameraItem);
29  proto external ScriptedCameraItem GetCurrentCamera();
31  proto external bool IsCameraBlending();
37  proto external void SetLensFlareSet(CameraLensFlareSetType type, string lensFlareSetUserName);
38 
39  // callbacks
40 
46  event protected float CalculateFovScalar(notnull CameraBase mainCamera, CameraBase overlayCamera) { return 1.0; };
48  event void Init();
50  event void OnCameraActivate();
52  event void OnCameraDeactivate();
54  event int CameraSelector();
56  event void OnBeforeCameraUpdate(float pDt, bool pIsKeyframe);
58  event void OnAfterCameraUpdate(float pDt, bool pIsKeyframe, inout vector transformMS[4], inout vector transformWS[4]);
60  event void CollisionSolver(float pDt, inout ScriptedCameraItemResult pOutResult, inout vector resCamTM[4], bool isKeyframe);
62  event void OnThirdPersonSwitch(bool isInThirdPerson);
64  event float GetCameraTransitionTime(int pFrom, int pTo);
69  event float GetOverlayCameraFOVScalarWeight();
70 }
71 
CameraSelector
event int CameraSelector()
selects next camera
Definition: CharacterCameraHandlerComponent.c:161
IsCameraBlending
proto external bool IsCameraBlending()
returns true if there's more than one processing camera
ScriptComponent
SCR_SiteSlotEntityClass ScriptComponent
GetCameraTransitionTime
event float GetCameraTransitionTime(int pFrom, int pTo)
get how long should transition between given cameras be
Definition: CharacterCameraHandlerComponent.c:325
IsInThirdPerson
proto external bool IsInThirdPerson()
Returns true if the camera is in third person mode.
GetBlendAlpha
proto external float GetBlendAlpha(ScriptedCameraItem forCameraItem)
CalculateFovScalar
event protected float CalculateFovScalar(notnull CameraBase mainCamera, CameraBase overlayCamera)
Definition: CameraHandlerComponent.c:46
SetLensFlareSet
proto external void SetLensFlareSet(CameraLensFlareSetType type, string userName)
SetThirdPerson
proto external void SetThirdPerson(bool val)
Set the current third person camera state.
OnCameraActivate
event void OnCameraActivate()
activation
Definition: SCR_PostProcessCameraComponent.c:29
OnThirdPersonSwitch
event void OnThirdPersonSwitch(bool isInThirdPerson)
when we switch between FPP and TPP
Definition: CharacterCameraHandlerComponent.c:399
Init
event void Init()
initialization
Definition: CharacterCameraHandlerComponent.c:35
OnBeforeCameraUpdate
event void OnBeforeCameraUpdate(float pDt, bool pIsKeyframe)
before camera update
Definition: CharacterCameraHandlerComponent.c:436
GetCurrentCamera
proto external ScriptedCameraItem GetCurrentCamera()
returns current active camera
OnAfterCameraUpdate
event void OnAfterCameraUpdate(float pDt, bool pIsKeyframe, inout vector transformMS[4], inout vector transformWS[4])
after camera update
Definition: CharacterCameraHandlerComponent.c:535
SetFocusMode
proto external void SetFocusMode(float focusMode)
Set the current value of the focus mode.
OnCameraDeactivate
event void OnCameraDeactivate()
deactivation
Definition: SCR_PostProcessCameraComponent.c:38
type
EDamageType type
Definition: SCR_DestructibleTreeV2.c:32
GetOverlayCameraFOVScalarWeight
event float GetOverlayCameraFOVScalarWeight()
Definition: CharacterCameraHandlerComponent.c:1100
GetCameraSet
CameraHandlerComponentClass ScriptComponentClass GetCameraSet()
GetFocusMode
proto external float GetFocusMode()
Returns the current value of the focus mode.
CollisionSolver
event void CollisionSolver(float pDt, inout ScriptedCameraItemResult pOutResult, inout vector resCamTM[4], bool isKeyframe)
collision solver
Definition: CharacterCameraHandlerComponent.c:601
CameraHandlerComponentClass
Definition: CameraHandlerComponent.c:12