A material for a use with a [page:Sprite].
var spriteMap = new THREE.TextureLoader().load( 'textures/sprite.png' );
var spriteMaterial = new THREE.SpriteMaterial( { map: spriteMap, color: 0xffffff } );
var sprite = new THREE.Sprite( spriteMaterial );
sprite.scale.set(200, 200, 1)
scene.add( sprite );
[page:Object parameters] - (optional) an object with one or more properties defining the material's appearance.
Any property of the material (including any property inherited from [page:Material]) can be passed in here.
The exception is the property [page:Hexadecimal color], which can be passed in as a hexadecimal
string and is *0xffffff* (white) by default. [page:Color.set]( color ) is called internally.
SpriteMaterials are not clipped by using [page:Material.clippingPlanes].
See the base [page:Material] class for common properties.
[page:Color] of the material, by default set to white (0xffffff). The [page:.map] is mutiplied by the color.
Whether or not this material affected by the scene's fog. Default is false
Whether the material is affected by lights. Default is *false*.
The texture map. Default is null.
The rotation of the sprite in radians. Default is 0.
See the base [page:Material] class for common methods.