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

    Extension of a PIXI.Mesh for PointEffectSources.

    Hierarchy

    • Mesh
      • PointSourceMesh
    Index

    Constructors

    • Parameters

      • geometry: Geometry

        The geometry the mesh will use.

      • shader: MeshMaterial

        The shader the mesh will use.

      • Optionalstate: State

        The state that the WebGL context is required to be in to render the mesh if no state is provided, uses PIXI.State.for2d to create a 2D state for PixiJS.

      • OptionaldrawMode: DRAW_MODES

        The drawMode, can be any of the PIXI.DRAW_MODES constants.

      Returns PointSourceMesh

    Accessors

    • get geometry(): Geometry

      Returns Geometry

    • set geometry(value: Geometry): void

      Parameters

      • value: Geometry

      Returns void

    Methods

    • Returns void

    • Returns void

    • Returns void

    • Returns void

    • The local bounds need to be drawn from the underlying geometry.

      Parameters

      • rect: any

      Returns any