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

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

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

...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

312. 关于 iframe跳转地址 [ 62%]

...ar iframe = document.createElement("iframe"); iframe.id = "iframe"; iframe.name = "iframe"; iframe.frameBorder = "no"; iframe.marginwidth="0px"; iframe.marginheight="0px" ; iframe.scrolling = "no"; iframe.border="0px" iframe.style.position = "absolute"; iframe.style.left = "0px"; iframe.style.top = ...

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

313. laya.display.AnimationPlayerBase [ 62%]

...only] 返回鼠标在此对象坐标系上的 Y 轴坐标信息。 Sprite name : String节点名称。Node numChildren : int[read-only] 子对象数量。 Node optimizeScrollRect : Boolean 指定是否对使用了 scrollRect 的显示对象进行优化处理。默认为false(不优化)。 当值...

来源: laya_api 发布时间: 20170929

314. laya.d3.core.light.LightSprite [ 62%]

...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

315. laya.ui.List_API3.0 [ 62%]

...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

316. 图集动画(JavaScript-LayaAir基础篇(JS)-动画基础) [ 62%]

...动画模板的作用 我们回顾一下`play()`方法的第三个参数`name`。当我们将图集中的某组动画资源创建为动画模版,并给予模板命名后,`play()`方法的name参数就可以使用动画模版的命名,然后通过指定动画模板的名称来实现指定动画...

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

317. 物理射线检测(JavaScript-3D基础(JS)-LayaAir3D之物理系统) [ 62%]

...s://layaair.ldc.layabox.com/demo2/?language=ch&category=3d&group=Physics3D&name=PhysicsWorld_RayShapeCast)); ```typescript this.hitResult = new Laya.HitResult(); this.hitResults= []; //是否穿透 if (this.castAll) { //进行射线检测,检测所有碰撞的物体 this.scene.physicsSimulation....

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

318. laya.map.MapLayer [ 62%]

...测依据。 Stage对象和UI的View组件默认为true。 Sprite  layerName : String = null当前Layer的名称MapLayer  _mapData : Array = nullMapLayer mask : Sprite 遮罩,可以设置一个对象(支持位图和矢量图),根据对象形状进行遮罩显示。 【注意】遮罩对象...

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

319. 分包后, 资源加载问题 [ 62%]

...thod":"linearNone","tween":true,"target":1,"key":"width","index":100}]}}],"name":"loading1","id":1,"frameRate":24,"action":2}]}; return loadingjzaUI; })(View) //class ui.loadingUI extends laya.ui.View var loadingUI=(function(_super){ function loadingUI(){ this.loadingMC=null; loadingUI.__super.call(...

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

320. tiledMap类createMap()创建地图 如何理解这个viewRect视口区 [ 62%]

...: https://layaair.ldc.layabox.com/demo/?category=2d&group=TiledMap&name=ScrollMap   看这个示例吧,这种开发代码我们不看的。 2018-06-14 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 谢 相关问题 请问laya...

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