Skip to main content

Camera Service

Description

Orchestrates dialogue camera behaviour during conversations. Manages the enter/exit dialogue camera lifecycle, applies automatic and beat-driven shots, and delegates to the active camera provider for framing.

Interface

Type
IDialogueCameraService

Inherits

Type
N/A

Key Components

NameTypeDescription
shotSelectorIDialogueShotSelectorSelects shots based on the active shot selection profile.
cameraProviderIDialogueCameraProviderApplies selected shots to the actual camera system.
inputPolicyIDialogueCameraInputPolicyControls player input during camera transitions.

Public Methods

NameParametersReturn TypeDescription
EnterDialogueDialogueParticipants participantsvoidEnters dialogue camera mode for the given participants.
ExitDialogueN/AvoidExits dialogue camera mode and restores the previous camera.
ApplyBeatShotCameraDialogueBeat beat, DialogueParticipants participantsvoidApplies a specific camera beat's shot configuration.
ApplyAutoShotDialogueParticipants participants, MoodState moodvoidSelects and applies a shot automatically using the rule system.