HTMLTexture

THREE.HTMLTexture
See theHTMLTexture companion object
class HTMLTexture(element: UndefOr[Any] = ..., mapping: UndefOr[Int] = ..., wrapS: UndefOr[Int] = ..., wrapT: UndefOr[Int] = ..., magFilter: UndefOr[Int] = ..., minFilter: UndefOr[Int] = ..., format: UndefOr[Int] = ..., `type`: UndefOr[Int] = ..., anisotropy: UndefOr[Int] = ...) extends Texture

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.

Attributes

Companion
object
Graph
Supertypes
class Texture
class Object
trait Any
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def dispose(): Unit

Releases the internal resources of the texture and removes the paint callback from the parent element.

Releases the internal resources of the texture and removes the paint callback from the parent element.

Attributes

Definition Classes

Inherited methods

def copy(source: Texture): this.type

Attributes

Inherited from:
Texture
def hasOwnProperty(v: String): Boolean

Attributes

Inherited from:
Object
def isPrototypeOf(v: Object): Boolean

Attributes

Inherited from:
Object
def jsClone(): Texture

Attributes

Inherited from:
Texture
def propertyIsEnumerable(v: String): Boolean

Attributes

Inherited from:
Object
def toJSON(meta: Object): Object

Attributes

Inherited from:
Texture
def toLocaleString(): String

Attributes

Inherited from:
Object

Attributes

Inherited from:
Texture
def updateMatrix(): Unit

Attributes

Inherited from:
Texture
def valueOf(): Any

Attributes

Inherited from:
Object

Concrete fields

val isHTMLTexture: Boolean

This flag can be used for type testing.

This flag can be used for type testing.

Attributes

Inherited fields

Attributes

Inherited from:
Texture
var colorSpace: UndefOr[String]

Attributes

Inherited from:
Texture
var flipY: Boolean

Attributes

Inherited from:
Texture
var generateMipmaps: Boolean

Attributes

Inherited from:
Texture
val id: Int

Attributes

Inherited from:
Texture
var image: UndefOr[Any]

Attributes

Inherited from:
Texture
val isTexture: Boolean

Attributes

Inherited from:
Texture

Attributes

Inherited from:
Texture
var matrixAutoUpdate: Boolean

Attributes

Inherited from:
Texture
val name: String

Attributes

Inherited from:
Texture
var needsUpdate: Boolean

Attributes

Inherited from:
Texture

Attributes

Inherited from:
Texture
var premultiplyAlpha: Boolean

Attributes

Inherited from:
Texture

Attributes

Inherited from:
Texture
var rotation: Double

Attributes

Inherited from:
Texture
val uuid: String

Attributes

Inherited from:
Texture
var version: Int

Attributes

Inherited from:
Texture