大约有 207 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0053 秒)
...material = mat; //设置场景的反射贴图 scene.customReflection = mat.textureCube; //设置曝光强度 var exposureNumber:Number = 0; mat.exposure = 0.6 + 1; })); ..... //加载Mesh Laya.Mesh.load("res/threeDimen/staticModel/teapot/teapot-Teapot001.lm", Laya.Handler.create(null, function(mesh)...
来源: Laya2.0_文档 发布时间: 20210715
...0,1为垂直3宫格,3宫格性能比9宫格高。 AutoBitmap source : Texture 对象的纹理资源。 AutoBitmap width : Number 表示显示对象的宽度,以像素为单位。 AutoBitmapPublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefined By alpha(v...
来源: laya_api 发布时间: 20170929
...是重点,文字的效果我们是通过svg支持的css样式来设置 text-shadow设置的是文字的css样式效果,假如开发者想改变文字的样式,可以修改style即可。 ``` 上面是在JavaScript中,用原生的dom元素img来进行显示,那么在游戏中我们想用的...
来源: Laya2.0_文档 发布时间: 20210714
...material = mat; //设置场景的反射贴图 scene.customReflection = mat.textureCube; //设置曝光强度 var exposureNumber:Number = 0; mat.exposure = 0.6 + 1; })); ..... //加载Mesh Mesh.load("res/threeDimen/staticModel/teapot/teapot-Teapot001.lm", Handler.create(null, function(mesh:Mesh):void...
来源: Laya2.0_文档 发布时间: 20210715
...Canvas(this.gridBox.width,this.gridBox.height,0,0); //获取截屏区域的texture this._tex = new Laya.Texture(this._htmlC); this._photo=new Laya.Sprite(); //将截屏的texture进行draw绘制并显示到舞台 this._photo.name="testtt"; this._photo.graphics.drawTexture(this._tex,0,0,this.gridBox....
来源: Laya_社区 发布时间: 20170502
... console.log('res,', (typeof res)) Laya.Texture2D.load("res/layabox.png", Laya.Handler.create(null, function (tex: Laya.Texture2D) { material.albedoTexture = tex; let item = 'res/layabox.png'...
来源: Laya_社区 发布时间: 20210604
关于graphics.drawTexture方法设置纹理报错TypeError: texture.getIsReady is not a function 自己的问题 2019-05-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 Laya_Aaron 赞同来自: 截图和代码...
来源: Laya_社区 发布时间: 20190508
...ff :"+ openId + " buff:"+ buff + " width:"+ width +" height:"+height); var tex = new BK.Texture(buff,width,height); var sp =new BK.Sprite(200,200,tex,0,1,1,1); BK.Director.root.addChild(sp); }else if(openID == openID2){ ... } } BK.MQQ.Account.getHead(openID1, callback); BK.MQQ.Account.getHead(openID...
来源: Laya_社区 发布时间: 20180417
...是重点,文字的效果我们是通过svg支持的css样式来设置 text-shadow设置的是文字的css样式效果,假如开发者想改变文字的样式,可以修改style即可。 ``` 上面是在JavaScript中,用原生的dom元素img来进行显示,那么在游戏中我们想用的...
来源: Laya2.0_文档 发布时间: 20210715
...时,在ClearColor选项中选择填充的颜色 图2-5 2.9 IBL选项 IBL Tex:烘焙的反射探针IBL Texture IBL Tex RGBD:烘焙的纹理格式(颜色通道+深度通道) 图2-6 Copyright ©Layabox 2026 all right reserved,powered by LayaAir Engine更新时间: 2025-10-10 16:27:56 img{...
来源: Laya3.0_文档 发布时间: 20251010