TextureFilter(texture, texcoords, enabled=True)¶
Filter to apply a texture to a mesh.
Note the texture is applied by multiplying the texture color by the Visual’s produced color. By specifying color=”white” when creating a MeshVisual the result will be the unaltered texture value. Any other color, including the default, will result in a blending of that color and the color of the texture.
True to display the texture, False to disable.
The texture coordinates as an (N, 2) array of floats.
The texture image.