Capítulo 228 de 859
Creates a texture from an HTML element.
This is almost the same as the base texture class, except that it sets Texture#needsUpdate to true immediately and listens for the parent canvas's paint events to trigger updates.
Constructor
| Signature |
|---|
new HTMLTexture( element : HTMLElement, mapping : number, wrapS : number, wrapT : number, magFilter : number, minFilter : number, format : number, type : number, anisotropy : number ) |
Properties
| Property | Description |
|---|---|
.isHTMLTexture : boolean (readonly) | This flag can be used for type testing. |