Skip to main content

camera

Overview

  • 7 commands in this category.

Commands

CommandNameDescription
camera.focus_entityFocus Camera On EntityPoints the camera at the given entity by making its actor the view target. Unlike entity.possess th…
camera.get_fov_preferenceGet FOV Preference (degrees)Returns the user's camera field-of-view PREFERENCE in degrees, plus the range it accepts. fov_deg i…
camera.get_settingsGet Camera SettingsReturns camera/input settings: FOV, mouse sensitivity, scroll wheel speeds, edge scroll state. fov …
camera.get_viewGet Camera ViewReturns the live state of the active game camera: world position, rotation, the forward/right/up un…
camera.set_fovSet FOVSet the camera field of view angle. Typical range: 60-120. The value goes straight into an option t…
camera.set_fov_preferenceSet FOV Preference (degrees)Sets the user's camera field-of-view PREFERENCE, in degrees. Separate command from camera.set_fov b…
camera.set_sensitivitySet Mouse SensitivitySet the follow-view camera mouse sensitivity. Range: 0-100.