Texture

@native @JSImport("three", "Texture") @JSType class Texture extends EventDispatcher
Companion
object
class Object
trait Any
class Object
trait Matchable
class Any

Value members

Constructors

def this(image: UndefOr[HTMLImageElement | HTMLCanvasElement | HTMLVideoElement], mapping: UndefOr[Mapping], wrapS: UndefOr[Wrapping], wrapT: UndefOr[Wrapping], magFilter: UndefOr[TextureFilter], minFilter: UndefOr[TextureFilter], format: UndefOr[PixelFormat], `type`: UndefOr[TextureDataType], anisotropy: UndefOr[Double], encoding: UndefOr[TextureEncoding])

Concrete methods

def copy(source: Texture): Texture
def dispose(): Unit
@JSName("clone")
def toJSON(meta: Any): Any
def updateMatrix(): Unit

Inherited methods

def addEventListener(`type`: String, listener: Function1[Event, Unit]): Unit
Inherited from
EventDispatcher
def dispatchEvent(event: AnonObject25): Unit
Inherited from
EventDispatcher
def hasEventListener(`type`: String, listener: Function1[Event, Unit]): Boolean
Inherited from
EventDispatcher
def hasOwnProperty(v: String): Boolean
Inherited from
Object
def isPrototypeOf(v: Object): Boolean
Inherited from
Object
def propertyIsEnumerable(v: String): Boolean
Inherited from
Object
def removeEventListener(`type`: String, listener: Function1[Event, Unit]): Unit
Inherited from
EventDispatcher
def toLocaleString(): String
Inherited from
Object
def valueOf(): Any
Inherited from
Object

Concrete fields

var anisotropy: Double
var flipY: Boolean
var generateMipmaps: Boolean
var id: Double
var image: Any
var isRenderTargetTexture: Boolean
val isTexture: Boolean
var matrixAutoUpdate: Boolean
var mipmaps: Array[Any]
var name: String
var needsUpdate: Boolean
var onUpdate: Function0[Unit]
var premultiplyAlpha: Boolean
var rotation: Double
var sourceFile: String
var unpackAlignment: Double
var uuid: String
var version: Double