大约有 399 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0046 秒)
Laya_社区(287) Laya2.0_文档(34) Laya3.0_文档(23) Laya2.0_示例(16) Laya_示例(14) Laya3.0_api(13) Laya2.0_api(8) laya_api(4)
...isContentBox(): boolean Defined in laya/d3/core/scene/bvh/BVHSpatialBox.ts:500 是否是叶节点 Returns boolean isRoot isRoot(): boolean Defined in laya/d3/core/scene/bvh/BVHSpatialBox.ts:492 是否是根节点 Returns boolean recaculateBox recaculateBox(): void Defined in laya/d3/core/scene/bvh/B...
来源: Laya3.0_api 发布时间: 20231115
...panel); panel.addChild(text); panel.vScrollBar.min=1; panel.vScrollBar.max=500; panel.vScrollBar.value=panel.vScrollBar.max; Laya.timer.frameLoop(12,this,onLoop); function onLoop() { console.log(54) } })();、 我是这样添加的 lubaihong • 2017-06-09 11:07 谢谢 我已经用list 做出功能...
来源: Laya_社区 发布时间: 20170609
...idth >> 1, Laya.stage.height >> 1); //位置 this.fontclp.size(500, 60); //大小 this.fontclp.pivot(this.fontclp.width/2, this.fontclp.height/2); //轴心点 this.fontclp.skin = "atlas/comp/fontClip_num.png"; this.fontclp.sheet = "0123456789"; this.fontclp.value = "5201314"; this.fontcl...
来源: Laya3.0_文档 发布时间: 20251010
...ge.width >> 1, Laya.stage.height >> 1); //位置 this.lab.size(500, 30); //大小 this.lab.pivot(this.lab.width/2, this.lab.height/2); //轴心点 this.lab.text = "大家好,欢迎大家来到LayaAir IDE"; //文本内容 this.lab.font = "宋体"; //字体 this.lab.fontSize = 50; //字...
来源: Laya3.0_文档 发布时间: 20251010
...SpatialBox.isContentBox Defined in laya/d3/core/scene/bvh/BVHSpatialBox.ts:500 是否是叶节点 Returns boolean isRoot isRoot(): boolean Inherited from BVHSpatialBox.isRoot Defined in laya/d3/core/scene/bvh/BVHSpatialBox.ts:492 是否是根节点 Returns boolean recaculateBox recaculateBox(): void...
来源: Laya3.0_api 发布时间: 20231115
...则生成的图集图片宽高将会是2的整次幂。例如,宽753高500,勾选二次幂限制后,宽高会变成1024和512。除非是面临某些强制要求按2的整次幂的运行环境,常规情况下无需勾选。 2.6 过滤模式 图集中的散图不会继承各自原始纹理的...
来源: Laya3.0_文档 发布时间: 20251128
...wake(): void { let img = new Laya.Image; Laya.stage.addChild(img); img.pos(500,100); img.skin = "resources/layabox.png"; //纹理压缩的图片的路径 } onStart() { Laya.Stat.show(0, 0); //性能面板 } } 发布后,使用的图片就是压缩后的图片了。 3.2 图集纹理压缩的加载 ...
来源: Laya3.0_文档 发布时间: 20251010
...25; spotLightComponent.innerRadius = 100; spotLightComponent.outerRadius = 500; spotLightComponent.innerAngle = 90; spotLightComponent.outerAngle = 120; // 开启阴影 spotLightComponent.shadowEnable = true; } // 创建背景 createBackground(): void { this.owner.addChild(this.background); let tex ...
来源: Laya3.0_文档 发布时间: 20251010
...nearest):将纹理缩放至最接近的 2 次幂尺寸;(如:300×500 → 256×512); 较大的(larger):始终向上取整至最近的 2 次幂尺寸(如:300×500 → 512×512); 较小的(smaller):向下取整至最近的 2 次幂尺寸(如:300×500 → 256×256...
来源: Laya3.0_文档 发布时间: 20251128
...in = ""; //滚动在头或底回弹时间 list.scrollBar.elasticBackTime = 500; //滚动在头或底最大距离 list.scrollBar.elasticDistance = 200; //设置为可以选择 list.selectEnable = true; //选择单元格时回调方法 list.selectHandler = new Handler(this, onSelect); //渲染单元...
来源: Laya2.0_文档 发布时间: 20210715