DayZ 1.27
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено
Camera.c
См. документацию.
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
96 proto native void SetFreezed(bool freezed);
97
102 proto native bool IsFreezed();
103
109};
static proto native FreeDebugCamera GetInstance()
Returns reference to FreeDebugCamera (it's singleton, thus only one instance is present)
proto native bool IsFreezed()
Returns if camera is freezed (you can't move it)
proto native void SetFreezed(bool freezed)
Sets cameras freeze state.
proto native Object GetCrosshairObject()
Gets object that free camera is currently pointing at.
Определения Camera.c:85
proto native void SetNearPlane(float nearPlane)
proto native void SetFOV(float fov)
Field of View settings.
static proto native void InterpolateTo(Camera targetCamera, float time, int type)
Interpolation between camera instances (current camera becomes targetCamera at the end of interpolati...
proto native float GetNearPlane()
proto native bool IsActive()
Is this camera active?
proto native void StopInterpolation()
static proto native float GetCurrentFOV()
Returns FOV of current camera object.
proto native void SetFocus(float distance, float blur)
Depth of Field settings.
static proto native Camera GetCurrentCamera()
Returns active Camera instance (note: player's camera is not Camera instance - thus it return null)
proto native void LookAt(vector targetPos)
Orientation change by lookAt point.
static proto native bool IsInterpolationComplete()
proto native void SetActive(bool active)
Sets this camera as active.
proto native void EnableSmooth(bool enable)
Enables the smoothing in interpolation.
Определения Camera.c:2
Определения ObjectTyped.c:2
Определения EnConvert.c:106