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

大约有 562 项符合查询结果, 库内数据总量为 30,723 项。 (搜索耗时: 0.0059 秒)

191. viewDialog区别 [ 63%]

...用二的幂次方图集非二的幂次方图集区别在哪? varname 的详细区别是什么? Laya.Handler.createnew Laya.Handler有啥区别 [分享]Dialog 点击边缘不关闭的 Demo示例 DialogView用destroyLaya.stage.removeChild有什么区别? dialog通过UIConfig设...

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

192. laya.d3.core.particleShuriKen.ShuriKenParticle3D [ 63%]

...te3D loaded : Boolean[read-only] 获取是否已加载完成。 Sprite3D name : String节点名称。Node numChildren : int[read-only] 子对象数量。 Node parent : Node父节点。Node  particleRender : ShurikenParticleRender[read-only] 获取粒子渲染器。 ShuriKenParticle3D  partic...

来源: laya_api 发布时间: 20170929

193. ui组件list数据源的疑问 [ 63%]

...,labelclic对应的是list下item(Box)下的LabelClip组件的name值,也就是你要为哪个组件赋值,每个组件都有自己的默认属性,label是text,clip是index   要多个属性赋值的话可以写arr.push({label: {text:"item"+i,color:"#FF0000"},clip: i % 9}); 2017...

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

194. SkyProceduralMaterial材质详解(ActionScript-3D基础(AS3)-天空材质详解) [ 63%]

...](https://layaair.ldc.layabox.com/demo2/?language=ch&category=3d&group=Sky&name=Sky_Procedural))中有所调整,设置好天空盒效果后更新灯光位置来表现日升日落的效果,`SkyDome.instance`是LayaAir3D中内置的一个圆形天空盒网格。 ```typescript //初始化天空...

来源: Laya2.0_文档 发布时间: 20210715

195. 如何往TiledMap格子内追加精灵 [ 63%]

... //mallLayer = tiledMap.getLayerByIndex(2); mallLayer = tiledMap.getLayerByName("animation"); //Create Bear Start for(var sCnt = 0; sCnt < 20; sCnt++){ createSprite(sCnt) } //Create Bear End } function createSprite(no){ var flower = new Sprite(); flower.loadImage(texture1); flower.pos((0 + no) * ...

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

196. 关于打包图集时的图片默认属性与repeat的区别 [ 63%]

...不会生成场景类了,此时该如何获得场景内的元素 varname 的详细区别是什么? matter中layasprite怎么改变图片大小? Texture图片能否进行翻转? 图集打包找不到图集文件 btn 鼠标移动上去默认文本颜色是绿色,我想换成其他颜色...

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

197. list控件内字体大小设置无效 [ 63%]

...ion updateItem(cell:Box, index:int):void{ var itemImg:Image=cell.getChildByName("itemImg") as Image; var itemName:Label=cell.getChildByName("itemName") as Label; itemImg.skin=cell.dataSource.image_url; itemName.width=Number(itemName.text.length*20); itemName.height=20; itemName.fontSize =12; itemNam...

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

198. laya.ui.List_API3.0 [ 63%]

...l, "#ff0000"); var label:Label = new Label(); label.text = "100000"; label.name = "label";//设置 label 的name属性值。 label.size(100, 20); addChild(label); } } example (function (_super){ function Item(){ Item.__super.call(this);//初始化父类 this.graphics.drawRect(0, 0, 100, 20, "#ff0000...

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

199. laya.d3.core.light.LightSprite [ 63%]

...EDTYPE_REALTIME : int = 0[static] 灯光烘培类型-实时。LightSprite name : String节点名称。Node numChildren : int[read-only] 子对象数量。 Node parent : Node[read-only] 父节点。Node scene : *[read-only] 获得所属场景。 Node  shadow : Boolean 获取是否产生阴影...

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

200. LayaAir LayaAirIDE的区别? [ 63%]

...用二的幂次方图集非二的幂次方图集区别在哪? varname 的详细区别是什么? Laya.Handler.createnew Laya.Handler有啥区别 LayaAir 3D 有提供 3D 物理引擎功能吗? LayaAir 2.0 TS版编译出错GameConfig跟创建项目时生成的内容不一致了 Laya的...

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