• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 1,107 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0056 秒)

961. ☆☆☆☆☆☆☆☆☆☆☆每增加一个 view 都会增加一个 drawcall 吗 ☆☆☆☆☆☆☆☆☆☆☆ [ 47%]

...wcall kezhiyu • 2018-05-23 10:16 __proto.fillText=function(text,x,y,font,color,textAlign){ Stat.drawCall++; if (arguments.length > 3 && font !=null){

来源: Laya_社区 发布时间: 20180516

962. 3D的点光源或者聚光灯的光源会穿透模型 [ 47%]

...nsform.translate(new Laya.Vector3(0, 0, 3));         spotLight_.color = new Laya.Vector3(1, 0, 0);         spotLight_.intensity = 50;         camera_.transform.translate(new Laya.Vector3(0, 3, 0));         camera_.transform.rotate(new Laya.Vector3(-45, ...

来源: Laya_社区 发布时间: 20200506

963. mac下用FB打包发布测试页面,chrome浏览器看不到预期显示文字 [ 47%]

... is not defined. /LayaAirTest/src/LayaAirTest.as (20):warning:Laya.stage.bgColor This variable is not defined. /LayaAirTest/src/LayaAirTest.as (22):warning:Laya.stage.addChild This variable is not defined.   代码如下: package {     import laya.display.Text;     public class LayaAirTest ...

来源: Laya_社区 发布时间: 20170429

964. laya.ui.TextArea_API3.0 [ 47%]

...Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/input.png"], Handler.create(this, onLoadComplete));//加载资源。 } private function onLoadComplete():void { var textArea:TextArea = new Tex...

来源: Laya3.0_api 发布时间: 20231115

965. List修改datasource数据的时候出现部分数据不能被修改 [ 47%]

..../laya/assets/ui/num" + (i + 1) + ".png" }, text: { text: this.allData[i], color: "#ffffff" }, type:false, checkBox: { visible: false } }; dataSource.push(_data); } ; this.mainUI.list.array = dataSource; this.mainUI.list.vScrollBarSkin = ""; this.mainUI.list.mouseHandler = new Laya.Handler(this, thi...

来源: Laya_社区 发布时间: 20170207

966. laya.d3.core.MeshRender [ 47%]

...:int, buffer:Float32Array):void 设置Buffer。 BaseRender _setShaderValueColor(shaderIndex:int, color:*):void 设置颜色。 BaseRender _setShaderValueInt(shaderIndex:int, i:int):void 设置整型。 BaseRender _setShaderValueNumber(shaderIndex:int, number:Number):void 设置浮点。 BaseRende...

来源: laya_api 发布时间: 20170929

967. 微信授权,获取用户信息的接口实现方法,wx.createUserInfoButton [ 47%]

...         lineHeight: 40,                         backgroundColor: '#ff0000',                         color: '#ffffff',                         textAlign: 'center',                         fontSize: 16,                         borderRadi...

来源: Laya_社区 发布时间: 20180911

968. 文字在框内滑动、滚动文本 [ 47%]

...his.txt.y=Laya.stage.height-this.txt.height>>1;     this.txt.borderColor="#ffff00";     this.txt.fontSize=20;     this.txt.color="#ffffff";     Laya.stage.addChild(this.txt);     this.txt.on(Laya.Event.MOUSE_DOWN, this, startScrollText); } function startScrollText(){     this.prevX...

来源: Laya_社区 发布时间: 20170810

969. as3中如何定义html中的id参数 [ 47%]

...光的自定义shader,有很多问题,帮忙看一下 2.0 drawTexture color参数无效 怎样获取浏览器地址传过来的GET参数 event自定义事件的问题 dialog 自定义关闭效果,效果执行完,弹窗无法关闭 android 新版打包要求输入js或者json,而不是html...

来源: Laya_社区 发布时间: 20180625

970. [LayaAir3]dialog弹窗打开前如何传入参数刷新界面? [ 47%]

...关问题 怎样获取浏览器地址传过来的GET参数 2.0 drawTexture color参数无效 播放背景音乐的问题 刚打开 桌面调试出现报错Uncaught (in promise) DOMException: play() 发布H5后通过网页打开出现左上角的那个图标是什么东东 怎么去掉 [分享]Dialog...

来源: Laya_社区 发布时间: 20231221