Material

SpriteMaterial

A material for a Sprite.

Constructor

SpriteMaterial( parameters )

parameters -- an object defining the the default properties
color - color of the sprite
map - the texture map
rotation - the rotation of the sprite
fog - whether or not to use the scene fog

Properties

See the base Material class for common properties.

.color

The texture is multiplied by this color. The default is 0xffffff

.map

The texture map. Default is null.

.rotation

The rotation of the sprite in radians. Default is 0.

.fog

Whether or not this material affected by the scene's fog. Default is false

Source

src/materials/SpriteMaterial.js
Edit