Hierarchy

  • Container
    • RegionMesh

Constructors

Properties

_cachedTint: [red: number, green: number, blue: number, alpha: number] = ...

Cached tint value for the shader uniforms.

_tintAlphaDirty: boolean

Used to track a tint or alpha change to execute a recomputation of _cachedTint.

_tintColor: Color = ...

The tint applied to the mesh. This is a hex value. A value of 0xFFFFFF will remove any tint effect.

Accessors

  • get blendMode(): BLEND_MODES

    The blend mode assigned to this RegionMesh.

    Returns BLEND_MODES

  • get tint(): number

    The tint applied to the mesh. This is a hex value.

    A value of 0xFFFFFF will remove any tint effect.

    Returns number

    0xFFFFFF
    

Methods

  • Returns void

  • Parameters

    • renderer: any

    Returns void

  • Tests if a point is inside this RegionMesh.

    Parameters

    Returns boolean

  • Parameters

    • options: any

    Returns void

  • Initialize shader based on the shader class type.

    Parameters

    • shaderClass: typeof AbstractBaseShader

      The shader class, which must inherit from AbstractBaseShader.

    Returns void

  • Returns void