Class

TextureDefinition

TextureDefinition

Members

number

# animationDirection

Direction that the texture UVs will move

View Source loaders/TextureLoader.js, line 48

Example
let angle = duration * (Math.PI / 2);
let vec = [Math.cos(angle) * animationSpeed, Math.sin(angle) * animationSpeed];               
number

# animationSpeed

Used for animated textures like firecape or water fountains

View Source loaders/TextureLoader.js, line 39

number

# field1777

View Source loaders/TextureLoader.js, line 15

boolean

# field1778

View Source loaders/TextureLoader.js, line 18

number

# field1780

View Source loaders/TextureLoader.js, line 27

number

# field1781

View Source loaders/TextureLoader.js, line 30

number

# field1786

View Source loaders/TextureLoader.js, line 33

Array.<number>

# fileIds

The sprites that make up this texture

View Source loaders/TextureLoader.js, line 24

number

# id

The ID of this Texture

View Source loaders/TextureLoader.js, line 12