alternativa3d 杂点Plane


var material:TextureMaterial = new TextureMaterial();
			material.texture = new BitmapData(60, 60, false, 0);
			material.texture.perlinNoise(30, 30, 5, 0, false, true, 6);
			material.repeat = true;
			material.smooth = true;	
			var p:Plane=new Plane(100,100,1,1,false);
			p.setMaterialToAllFaces(material);

你可能感兴趣的:(java)