Dayz Explorer 1.28.160049
Loading...
Searching...
No Matches
camera.c
Go to the documentation of this file.
1class 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
29 static proto native bool IsInterpolationComplete();
30
35 proto native void SetNearPlane(float nearPlane);
36
40 proto native float GetNearPlane();
41
45 proto native void SetActive(bool active);
46
50 proto native void EnableSmooth(bool enable);
51
55 proto native void StopInterpolation();
56
61 proto native bool IsActive();
62
67 proto native void SetFOV(float fov);
68
74 proto native void SetFocus(float distance, float blur);
75
80 proto native void LookAt(vector targetPos);
81};
82
83//-----------------------------------------------------------------------------
84class FreeDebugCamera extends Camera
85{
90 static proto native FreeDebugCamera GetInstance();
91
97 proto native bool IsPlayerMove();
98
103 proto native void SetFreezed(bool freezed);
104
109 proto native bool IsFreezed();
110
115 proto native Object GetCrosshairObject();
116};
Definition camera.c:2
proto native DayZPlayerCamera GetCurrentCamera()
-------------— camera additional functions ----------------------—
bool IsActive()
void SetActive()
Definition trapbase.c:414