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

    Shader for the Region highlight.

    Hierarchy (View Summary)

    Index

    Properties

    initialUniforms: object

    The initial values of the shader uniforms.

    defaultUniforms: {
        canvasDimensions: number[];
        hatchEnabled: boolean;
        hatchThickness: number;
        resolution: number;
        sceneDimensions: number[];
        screenDimensions: number[];
        tintAlpha: number[];
    } = ...

    Methods

    • Parameters

      • mesh: any
      • renderer: any

      Returns void

    • Reset the shader uniforms back to their initial values.

      Returns void