class CameraSource
Camera › Entity › ObjectTyped › Object › IEntity › Managed
Derived classes
All members, including inherited
Methods 13
static proto native Camera GetCurrentCamera()static proto native float GetCurrentFOV()Returns FOV of current camera object
Returns: float FOV of current camera object
Interpolation between camera instances (current camera becomes targetCamera at the end of interpolation)
targetCameratowhich camera we want to interpolatetimetrueinterpolation timetype0= without dynamics 1 = first half - acceleration, second half deceleration 2 = first third - acceleration, second third - linear movement, last third - deceleration
static proto native bool IsInterpolationComplete()Checks if the current interpolation reached it's end
Referenced by CameraToolsMenu.Update()
proto native void SetNearPlane(float nearPlane)set near plane of camera
nearPlane- clamped internally to 0.01m
proto native void SetActive(bool active)Sets this camera as active
Referenced by CameraToolsMenu.~CameraToolsMenu(), CameraToolsMenu.Play(), CameraToolsMenu.Stop()
Show 8 more
, CameraToolsMenu.Update(), DayZIntroScene.DayZIntroScene(), DayZIntroSceneXbox.DayZIntroSceneXbox(), DeveloperFreeCamera.DisableFreeCamera(), DeveloperFreeCamera.EnableFreeCamera(), MissionBenchmark.CreatePlayer(), MissionBenchmark.OnBenchmarkEnd(), and PluginDayZInfectedDebug.PossesInfected()proto native void EnableSmooth(bool enable)Enables the smoothing in interpolation
Referenced by CameraToolsMenu.Play()
proto native void StopInterpolation()Performs cleanup. Important to call when interpolation run is finished.
Referenced by CameraToolsMenu.Stop()
proto native bool IsActive()Is this camera active?
Returns: bool true if this camera is active
Referenced by DeveloperFreeCamera.DisableFreeCamera(), DeveloperFreeCamera.IsFreeCameraEnabled(), DeveloperFreeCamera.IsFreeCameraEnabledNoPlayerMovement()
Show 12 more
, PluginCharPlacement.CheckInit(), PluginCharPlacement.OnUpdate(), PluginDeveloper.GetCameraDirections(), PluginDoorRuler.CheckInit(), PluginDoorRuler.OnUpdate(), ScriptConsoleGeneralTab.OnDoubleClick(), ScriptConsoleGeneralTab.OnMouseButtonDown(), ScriptConsoleGeneralTab.Update(), VicinityContainer.UpdateInterval(), VicinityItemManager.AddVicinityItems(), VicinityItemManager.ExcludeFromContainer_Phase1(), and VicinityItemManager.RefreshVicinityItems()proto native void SetFOV(float fov)Field of View settings
fovFOVangle in radians
Depth of Field settings
distanceDOFdistance parameterblurDOFblur parameter
proto native void LookAt(vector targetPos)Orientation change by lookAt point
targetPoswhereto look at
Referenced by DayZIntroScene.DayZIntroScene(), DayZIntroScene.ResetIntroCamera(), MainMenuConsole.OnShow()