Create a RegionMesh.
The Region to create the RegionMesh from.
Optional
shaderClass: AbstractBaseShader = RegionShaderThe shader class to use.
Protected
_cachedCached tint value for the shader uniforms.
Protected
_tintUsed to track a tint or alpha change to execute a recomputation of _cachedTint.
Protected
_tintThe tint applied to the mesh. This is a hex value. A value of 0xFFFFFF will remove any tint effect.
The blend mode assigned to this RegionMesh.
The Region of this RegionMesh.
The shader bound to this RegionMesh.
Initialize shader based on the shader class type.
The shader class, which must inherit from AbstractBaseShader.
A mesh of a foundry.canvas.placeables.Region.