Foundry Virtual Tabletop - API Documentation - Version 14
    Preparing search index...

    Interface CameraViewUserContext

    interface CameraViewUserContext {
        charname: string;
        controls: Record<string, CameraViewControlContext>;
        css: string;
        hasAudio: boolean;
        hasVideo: boolean;
        hidden: boolean;
        local: boolean;
        nameplates: {
            charname: string;
            css: string;
            hidden: boolean;
            playerName: string;
        };
        settings: AVSettingsData;
        user: User;
        video: { muted: boolean; show: boolean; volume: number };
        volume: { field: DataField; show: boolean; value: number };
    }
    Index

    Properties

    charname: string

    The user's character name.

    controls: Record<string, CameraViewControlContext>
    css: string

    The CSS class of the user's camera dock.

    hasAudio: boolean

    Whether the user is broadcasting audio.

    hasVideo: boolean

    Whether the user is broadcasting video.

    hidden: boolean

    Whether the main camera dock is hidden.

    local: boolean

    Whether the user's AV stream is local.

    nameplates: {
        charname: string;
        css: string;
        hidden: boolean;
        playerName: string;
    }

    Type Declaration

    • charname: string

      Whether to show character names on nameplates.

    • css: string

      Nameplate CSS classes.

    • hidden: boolean

      Whether camera nameplates are entirely hidden.

    • playerName: string

      Whether to show player names on nameplates.

    settings: AVSettingsData

    The user's AV settings.

    user: User

    The User instance.

    video: { muted: boolean; show: boolean; volume: number }

    Type Declaration

    • muted: boolean

      Whether to mute the video stream's audio.

    • show: boolean

      Whether to show this user's camera.

    • volume: number

      The video stream's volume.

    volume: { field: DataField; show: boolean; value: number }

    Type Declaration

    • field: DataField

      The volume range field.

    • show: boolean

      Whether to show a volume bar for this user.

    • value: number

      The user's configured volume level.