<divclass="desc">A sprite is a plane in an 3d scene which faces always towards the camera.<br/><br/>Sprites do not cast shadows, setting <code>castShadow = true</code> will have no effect.</div>
<h2>Example</h2>
<code>
var map = new THREE.TextureLoader().load( "sprite.png" );
var material = new THREE.SpriteMaterial( { map: map, color: 0xffffff, fog: true } );
var sprite = new THREE.Sprite( material );
scene.add( sprite );
</code>
<h2>Constructor</h2>
<h3>[name]([page:Material material])</h3>
<div>
material — An instance of [page:Material] (optional).
</div>
<div>
This creates a new sprite with an specific material.
</div>
<h2>Properties</h2>
<h3>[property:SpriteMaterial material]</h3>
<div>
An instance of [page:Material], defining the object's appearance. Default is a [page:SpriteMaterial] which is a white plane.