Configuration

The X3D element supports attributes which allows to set configuration for the runtime.

Usage

The params behave just like any other HTML attribute. It must be added to the x3d canvas tag.


    <x3d showLog="true">
        ...
    </x3d>
            

Options

The following table lists the parameters currently supported.

Parameter Values Default Description
showLog true, false false Hide or display the logging console
showStat true, false false Hide or display the statistics overlay
showProgress true, false true Hide or show the loading indicator.
PrimitiveQuality High, Medium, Low, float High/1.0 Render quality (tesselation level) for Box, Cone, Cylinder, Sphere.