Skip to main content

Camera State

is_camera_active

Checks if the camera is currently active (holding, viewing, or photo mode).

get_camera_state

Gets the current camera state.

is_photo_mode

Checks if the player is currently in photo mode (viewfinder active).

is_viewing_mode

Checks if the player is currently viewing the camera menu.

is_taking_photo

Checks if a photo is currently being taken.

Camera Control

activate_camera

Activates the camera (enters holding state).

deactivate_camera

Deactivates the camera completely.

toggle_camera

Toggles the camera on/off.

enter_photo_mode

Enters photo mode (viewfinder).

exit_photo_mode

Exits photo mode (returns to holding state).

toggle_photo_mode

Toggles photo mode on/off.

enter_viewing_mode

Enters viewing mode (camera menu).

exit_viewing_mode

Exits viewing mode (returns to holding state).

toggle_viewing_mode

Toggles viewing mode on/off.

take_photo

Takes a photo (must be in photo mode).

Camera Settings

get_camera_settings

Gets all current camera settings.

set_iso

Sets the camera ISO value.

set_shutter_speed

Sets the camera shutter speed.

set_aperture

Sets the camera aperture.

set_zoom

Sets the camera zoom level.

set_flash_mode

Sets the camera flash mode.

update_camera_settings

Updates multiple camera settings at once.

reset_camera_settings

Resets all camera settings to defaults.

Photo Display

show_photo

Shows a photo in the player’s hand.

close_photo

Closes the currently displayed photo.

is_photo_active

Checks if a photo is currently being displayed.

focus_photo

Focuses the current photo in fullscreen NUI view.

unfocus_photo

Unfocuses the current photo from fullscreen view.

is_photo_focused

Checks if the photo is currently focused in fullscreen.

get_current_photo

Gets the current photo data.