How to use the SpriteCanvasMaterial function from three

Find comprehensive JavaScript three.SpriteCanvasMaterial code examples handpicked from public code repositorys.

21
22
23
24
25
26
27
28
29
30
THREE.SpriteCanvasMaterial.prototype = Object.create( THREE.Material.prototype );
THREE.SpriteCanvasMaterial.prototype.constructor = THREE.SpriteCanvasMaterial;

THREE.SpriteCanvasMaterial.prototype.clone = function () {

        var material = new THREE.SpriteCanvasMaterial();

        material.copy( this );
        material.color.copy( this.color );
        material.program = this.program;
fork icon519
star icon3
watch icon0

+ 7 other calls in file

Other functions in three

Sorted by popularity

function icon

three.Vector3 is the most popular function in three (22341 examples)