大约有 3,244 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0084 秒)
Laya_社区(2446) Laya3.0_api(242) Laya2.0_文档(138) Laya2.0_api(136) laya_api(135) Laya3.0_文档(77) Laya_示例(52) Laya2.0_示例(18)
...tor3(0, 3, 3)); camera.transform.rotate(new Laya.Vector3(-30, 0, 0), true, false); //添加方向光 var directionLight: Laya.DirectionLight = scene.addChild(new Laya.DirectionLight()) as Laya.DirectionLight; directionLight.color = new Laya.Vector3(0.6, 0.6, 0.6); directionLight.transform.worldMatri...
来源: Laya_社区 发布时间: 20190618
...置滚动对象target以后有效。 hide 是否隐藏滚动条,默认为false。设为true后,不显示滚动条,但是可以正常滚动。 autoHide 是否自动隐藏滚动条,默认值为false。设为true后,无需滚动时隐藏滚动条,内容需要滚动时显示滚动条。 显...
来源: Laya3.0_文档 发布时间: 20251010
...置滚动对象target以后有效。 hide 是否隐藏滚动条,默认为false。设为true后,不显示滚动条,但是可以正常滚动。 autoHide 是否自动隐藏滚动条,默认值为false。设为true后,无需滚动时隐藏滚动条,内容需要滚动时显示滚动条。 显...
来源: Laya3.0_文档 发布时间: 20251010
...entTarget: WebSocket, eventPhase: 2…} 关闭事件 CloseEvent {wasClean: false, code: 1006, reason: "", type: "close", target: WebSocket…} //-------------------------------------------------------------------------------------------------- 如果 运行 标“#”代码 this.socket.send("hello w...
来源: Laya_社区 发布时间: 20180211
...2.0出问题了 if (!isFrame) { //这个是开关,按键松开时isFrame=false,按下播放尾焰特效后就置为true Laya.loader.load('../bin/testflame.part', Laya.Handler.create(this, (setting) => { let frame = new Laya.Particle2D(setting); let key = keyString; let frameX; let frameY; let...
来源: Laya_社区 发布时间: 20190723
...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