Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
camera.c
Go to the documentation of this file.
1 class Camera extends Entity
2 {
7  static proto native Camera GetCurrentCamera();
8 
13  static proto native float GetCurrentFOV();
14 
24  static proto native void InterpolateTo(Camera targetCamera, float time, int type);
25 
30  proto native void SetNearPlane(float nearPlane);
31 
35  proto native float GetNearPlane();
36 
40  proto native void SetActive(bool active);
41 
46  proto native bool IsActive();
47 
52  proto native void SetFOV(float fov);
53 
59  proto native void SetFocus(float distance, float blur);
60 
65  proto native void LookAt(vector targetPos);
66 };
67 
68 //-----------------------------------------------------------------------------
69 class FreeDebugCamera extends Camera
70 {
75  static proto native FreeDebugCamera GetInstance();
76 
81  proto native void SetFreezed(bool freezed);
82 
87  proto native bool IsFreezed();
88 
93  proto native Object GetCrosshairObject();
94 };
SetActive
void SetActive()
Definition: trapbase.c:437
vector
Definition: enconvert.c:105
Object
Definition: objecttyped.c:1
GetCurrentCamera
proto native DayZPlayerCamera GetCurrentCamera()
-------------— camera additional functions ----------------------—
SetFocus
proto native void SetFocus(Widget w)
Entity
Definition: camera.c:1
Camera
Definition: camera.c:69
IsActive
bool IsActive()
Definition: modifierbase.c:130