大约有 3,176 项符合查询结果, 库内数据总量为 30,779 项。 (搜索耗时: 0.0079 秒)
Laya_社区(2392) Laya3.0_api(242) Laya2.0_文档(138) Laya2.0_api(136) laya_api(135) Laya3.0_文档(63) Laya_示例(52) Laya2.0_示例(18)
...entTarget: WebSocket, eventPhase: 2…} 关闭事件 CloseEvent {wasClean: false, code: 1006, reason: "", type: "close", target: WebSocket…} //-------------------------------------------------------------------------------------------------- 如果 运行 标“#”代码 this.socket.send("hello w...
来源: Laya_社区 发布时间: 20180211
...rray[index].lock){ own.visible = false; }else{ own.visible = true; } } var lock :Button = ce...
来源: Laya_社区 发布时间: 20180503
...tor3(0, 3, 3)); camera.transform.rotate(new Laya.Vector3(-30, 0, 0), true, false); camera.clearColor = null; //添加方向光 var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.color = new Laya.Vector3(0.6, 0.6, 0.6); directionLight.transform.worldMatrix.setForward(new L...
来源: Laya_社区 发布时间: 20190314
...为横屏模式 IFlash.setBgcolor("#000000"); //背景色 IFlash.showInfo(false); //是否显示帧率 //[IF-JS]value = 100; } } } 代码中使用LayaFlash的宏编译定义了一行只会在JS中运行的代码,这句代码在“AS3开发IDE”中编译不会提示错误。LayaFlash宏编译...
来源: Laya_社区 发布时间: 20151218
...aphics Defined in laya/ui/Clip.ts:151 _ownGraphics _ownGraphics: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:641 _skinBaseUrl _skinBaseUrl: string Inherited from Text._skinBaseUr...
来源: Laya3.0_api 发布时间: 20231115
...odule/TextureSheetAnimation.ts:24 循环次数。 enable enable: boolean = false Defined in laya/d3/core/particleShuriKen/module/TextureSheetAnimation.ts:28 是否启用 enableUVChannels enableUVChannels: number = 0 Defined in laya/d3/core/particleShuriKen/module/TextureSheetAnimation.ts:26 UV通道...
来源: Laya3.0_api 发布时间: 20231115
...(0, 0.7, 1.3)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); camera.addComponent(CameraMoveScript); //方向光 var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.color = new Laya.Vector3(0.7, 0.6, 0.6); directionLight.direction = new Laya.Vector3(0,...
来源: Laya_示例 发布时间: 20241119
...js-1-2-5Public Properties PropertyDefined By autoScaleSize : Boolean = false表示是否根据实际使用的字体大小缩放位图字体大小。BitmapFont fontSize : Number = 12当前位图字体字号,使用时,如果字号和设置不同,并且autoScaleSize=true,则按照设置...
来源: Laya2.0_api 发布时间: 20190513
... gameWorld, width: stageWidth, height: stageHeight, options: { wireframes: false } }); LayaRender.run(render); mouseConstraint = Matter.MouseConstraint.create(engine, { element: Render.canvas }); Matter.World.add(engine.world, mouseConstraint); render.mouse = mouseConstraint.mouse; } function initWo...
来源: Laya_示例 发布时间: 20241119
.... btn.clickHandler = laya.utils.Handler.create(this,this.onClickButton,[i],false); } this.onClickButton = function(id){ 通过ID 判断点击哪一个按钮! } 189*****192 • 2017-04-26 09:38 @cyqcyqcyq:我明白你的意思 this.emojiBut1.on(Laya.Event.CLICK,this,this.onClickButton,[透传参数...
来源: Laya_社区 发布时间: 20170425