提交 adb275a0 编写于 作者: M Mr.doob

Material constants and `THREE.Texture`

上级 237f1655
/**
* @author mr.doob / http://mrdoob.com/
* }
*/
THREE.UVMapping = 0;
THREE.ReflectionMap = 1;
THREE.CubeMap = 2;
THREE.FlatShading = 0;
THREE.GouraudShading = 1;
THREE.PhongShading = 2;
THREE.NormalBlending = 0;
THREE.AdditiveBlending = 1;
THREE.SubstractiveBlending = 2;
/**
* @author mr.doob / http://mrdoob.com/
* }
*/
THREE.Texture = function ( image, mapping ) {
this.image = image;
this.mapping = mapping;
this.toString = function () {
return 'THREE.Texture (<br/>' +
'image: ' + this.image + '<br/>' +
'mapping: ' + this.mapping + '<br/>' +
')';
};
};
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册