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

大约有 2,789 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0077 秒)

1661. laya.d3.core.render.BloomEffect [ 66%]

...omEffect 实例。 BloomEffect  render(context:PostProcessRenderContext):void[override] BloomEffectProperty DetailanamorphicRatiopropertyanamorphicRatio:Number 获取形变比,通过扭曲泛光产生视觉上形变,负值为垂直扭曲,正值为水平扭曲。 Implementation     public funct...

来源: Laya2.0_api 发布时间: 20190513

1662. laya.display.css.SpriteStyle_API3.0 [ 66%]

...) Defined in laya/display/css/SpriteStyle.ts:11 Methods recover recover(): void Defined in laya/display/css/SpriteStyle.ts:65 回收 Returns void reset reset(): SpriteStyle Defined in laya/display/css/SpriteStyle.ts:47 重置,方便下次复用 Returns SpriteStyle Static create create(): SpriteSty...

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

1663. Laya2.4版本,场景为内嵌时layaMaxUI类中没有声明场景中的Button等控件? [ 66%]

...         constructor(){ super()}         createChildren():void {             super.createChildren();             this.createView(GameSceneuiUI.uiView);         }     }     REG("ui.GameSceneuiUI",GameSceneuiUI);     export class GameView...

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

1664. 水平滚动条组件 · LayaAir3.4 · 引擎文档 · LAYABOX [ 66%]

...有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { this.hscroll.skin = "atlas/comp/hscroll.png";//滚动条皮肤 this.hscroll.width = 300;//滚动条的宽度 this.hscroll.pos(300, 300);//滚动条的位置 this.hscroll.min = 0;//滑块的最小滚动位置 this.hscro...

来源: Laya3.0_文档 发布时间: 20251010

1665. 垂直滚动条组件 · LayaAir3.4 · 引擎文档 · LAYABOX [ 66%]

...有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { this.vscroll.skin = "atlas/comp/vscroll.png";//滚动条皮肤 this.vscroll.width = 300;//滚动条的宽度 this.vscroll.pos(300, 300);//滚动条的位置 this.vscroll.min = 0;//滑块的最小滚动位置 this.vscro...

来源: Laya3.0_文档 发布时间: 20251010

1666. socket通讯返回数据 [ 66%]

...################################ } private openHandler(event: any = null): void { //正确建立连接; console.log("建立连接");//***************************************************************************不写出 console.log(event); } private receiveHandler(msg: any = null): void { ///接收...

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

1667. layaAir如何实现for循环加载多张图片,并且通过事件按比例缩小 [ 66%]

...不应该这样弄,求指点:         private function showPic():void         {             apesCtn=new Sprite()             Laya.stage.addChild(apesCtn);             for (var i:int = 0; i < 4; i++ )             {                 Lay...

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

1668. 文本-多行输入 [ 66%]

...ya.stage.bgColor = "#232628"; this.createInput(); } private createInput(): void { var inputText: Input = new Input(); // 移动端输入提示符 inputText.prompt = "Type some word..."; //多行输入 inputText.multiline = true; inputText.wordWrap = true; inputText.size(350, 100); inputText.x = Laya...

来源: Laya_示例 发布时间: 20260303

1669. 射线检测-选取物体 [ 66%]

...er.frameLoop(1, this, this.checkHit); this.loadUI(); } private checkHit(): void { //从屏幕空间生成射线 this.point.elements[0] = Laya.MouseManager.instance.mouseX; this.point.elements[1] = Laya.MouseManager.instance.mouseY; this.camera.viewportPointToRay(this.point, this.ray); //射线检测...

来源: Laya_示例 发布时间: 20260303

1670. hitTestPrior点击穿透 [ 66%]

...SpChild); sp.addChild(spchild); } private function onClickSpChild(e:Event):void { e.stopPropagation(); trace("child"); } private function onClickSp(e:Event):void { trace("sp"); } } } 2017-09-18 1 4 分享 微博 QZONE 微信 lllzzz6311 赞同来自: 怎样才能只触发box容器中的label的点击...

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