logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Interface IGameCameraSettings

    Configuration for the game camera service: camera discovery, the default multiplayer layout, audio listener ownership, and which layers to ignore during discovery.

    Namespace: Serenity.GameCamera.Application.Interfaces
    Assembly: Serenity.GameCamera.Application.dll
    Syntax
    public interface IGameCameraSettings

    Properties

    AutoDiscoverCameras

    Declaration
    bool AutoDiscoverCameras { get; }
    Property Value
    Type Description
    bool

    Whether the service should auto-discover cameras present in the scene instead of relying only on explicit registration.

    DefaultTwoPlayerLayout

    Declaration
    SplitScreenLayout DefaultTwoPlayerLayout { get; }
    Property Value
    Type Description
    SplitScreenLayout

    Default split-screen layout used when exactly two players are active and no explicit layout was requested.

    ExcludeLayerMask

    Declaration
    int ExcludeLayerMask { get; }
    Property Value
    Type Description
    int

    Layer mask of layers excluded from automatic camera discovery.

    ManageAudioListener

    Declaration
    bool ManageAudioListener { get; }
    Property Value
    Type Description
    bool

    Whether the service should manage which camera owns the audio listener.

    In this article
    © 2026 Serenity. All Rights Reserved