Taos API Reference
    Preparing search index...

    Interface TouchControlsOptions

    interface TouchControlsOptions {
        joystick?: false | JoystickOptions;
        cameraRegion?: CameraRegionOptions;
        zIndex?: number;
        rootClass?: string;
        styles?: TouchStyleOverrides;
        hideOverlappingChrome?: boolean;
        extraHiddenChrome?: string[];
    }
    Index

    Properties

    joystick?: false | JoystickOptions

    false omits the joystick; an object configures it.

    cameraRegion?: CameraRegionOptions

    Wires the canvas as a look-drag (and optional pinch) region.

    zIndex?: number

    Stacking order. Below the menu (~100) by default.

    rootClass?: string

    Class applied to the root overlay div. Default tc-root.

    CSS variable / customCss overrides.

    hideOverlappingChrome?: boolean

    Hide desktop-chrome selectors while the overlay is active. Default true.

    extraHiddenChrome?: string[]

    Extra CSS selectors to also hide while active.