webani - v1.0.0
    Preparing search index...

    Represents the options for configuring a Webani canvas.

    type WebaniRendererOptions = {
        antialias?: boolean;
        backgroundColor?: Vector3;
        canvas: HTMLCanvasElement;
    }
    Index

    Properties

    antialias?: boolean

    Whether or not antialiasing should be enabled.

    backgroundColor?: Vector3

    The background color of the canvas.

    canvas: HTMLCanvasElement

    The HTML canvas element to render on.