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

    A basic rectangular mesh with a shader only. Does not natively handle textures (but a bound shader can). Bounds calculations are simplified and the geometry does not need to handle texture coords.

    Hierarchy (View Summary)

    Index

    Constructors

    Accessors

    • get blendMode(): BLEND_MODES

      Assigned blend mode to this mesh.

      Returns BLEND_MODES

    Methods

    • Returns void

    • Parameters

      • renderer: any

      Returns void

    • Tests if a point is inside this QuadMesh.

      Parameters

      • point: IPointData

      Returns boolean

    • Parameters

      • options: any

      Returns void

    • Initialize shader based on the shader class type.

      Parameters

      • shaderClass: typeof AbstractBaseShader

        Shader class used. Must inherit from AbstractBaseShader.

      Returns void