StreamingCinematicsServiceClient
This item only works when running on the client. Client
Client half of the streaming-cinematics system. While a cinematic camera is active, feeds the camera position up to the StreamingCinematicsService (throttled) so the server can stream world content in around it -- covering the cases where the player has no character, or the character is far from the camera.
Functions
ObserveCurrentCameraPosition
StreamingCinematicsServiceClient.ObserveCurrentCameraPosition(_self: StreamingCinematicsServiceClient) → Observable<Vector3?>Observes the current camera's position, following Workspace.CurrentCamera as it changes.
PushCameraFocus
StreamingCinematicsServiceClient.PushCameraFocus() → function--
Cleanup; hands the focus back to the push underneath, or clears it
Streams world content around a cinematic camera until the returned cleanup runs. Defaults to
following the current camera; pass an observable of Vector3? to drive the focus explicitly.
Sends are throttled to [SEND_RATE_SECONDS] across every push.