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

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

2281. Morn下List组件如何给每一条列表添加Click事件,是需要for吗? [ 49%]

...import morn.core.components.Box; import morn.core.handlers.Handler; public class ListView extends ListViewUI { public function ListView() { super(); var arr:Array=[]; for(var i:int=0;i<95;i++) { arr.push({icon:i,label:"Index"+i}); } boxList.array=arr; boxList.mouseHandler=new Handler(listRender);...

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

2282. 问一个问题就是你们的每个UI都继承了一个引擎的代码我要写一个UI的基类那不就无法继承了 [ 49%]

...它又自动改回extends View了,于是乎每次生辰都要把所有的class全部改一遍继承   这个到layaair2.0了还没有解决吗?   2018-11-01 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 132*****180 相关问题 ...

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

2283. 之前用着好好的U3D导出插件突然不能用了,下载了新的报错,麻烦帮看下,谢谢 [ 49%]

...et_Item (System.String key) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Collections.Generic/Dictionary.cs:150) 附件是可复现问题的U3d项目文件,我使用的版本是2017.1.0f3。官方大神帮看看呗…… 附件 : --> 导出Sprite3D报错.rar 2018-12-18 添加...

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

2284. laya.d3.core.material.TerrainMaterial [ 49%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames TerrainMaterialProperties | Methods | Constants Packagelaya.d3.core.materialClasspublic class TerrainMaterialInheritanceTerrainMaterial BaseMaterial laya.resource.Resource ... Public Properties Hide Inherited Public Pro...

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

2285. 使用blendMode=add模式时,某些手机上无法正常显示,出现黑底 [ 49%]

... import laya.display.Sprite;     import laya.ui.Image;     public class LayaSample {                  public function LayaSample() {             //初始化引擎             Laya.init(1136, 640,WebGL);              var image:Image = new ...

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

2286. hitTestPoint对象父容器rotation旋转之后检测不了碰撞 [ 49%]

...int对象父容器rotation旋转之后检测不了碰撞   附上代码  class FishPonds extends Laya.Sprite { public are: Laya.Rectangle = new Laya.Rectangle(0, 0, 60, 30); constructor() { super(); var _fish: Laya.Sprite = new Laya.Sprite() _fish.graphics.drawRect(this.are.x, this.are.y, this.are...

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

2287. laya.maths.Matrix [ 49%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames MatrixProperties | Methods Packagelaya.mathsClasspublic class MatrixInheritanceMatrix Object Matrix 类表示一个转换矩阵,它确定如何将点从一个坐标空间映射到另一个坐标空间。 您可以对...

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

2288. http无响应 [ 49%]

...RequestComplete(e) { this.aaaa.text += "收到数据:" + hr.data; } Laya.class(LoginView,"LoginView",_super); //设置继承关系 //初始化函数 LoginView.prototype.init = function () { //监听登录按钮按下事件 this.login.on(Laya.Event.CLICK,this,this.onButtonLogin); //忘记密码 thi...

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

2289. laya.d3.math.Vector4 [ 49%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames Vector4Properties | Methods Packagelaya.d3.mathClasspublic class Vector4InheritanceVector4 ObjectImplements laya.d3.core.IClone Vector4 类用于创建四维向量。 Public Properties PropertyDefined By  elements : *...

来源: laya_api 发布时间: 20170929

2290. laya.d3.component.volume.batchvolume.StaticInstanceBatchRender_API3.0 [ 49%]

...nt/Volume/BatchVolume/StaticInstanceBatchRender" StaticInstanceBatchRender Class StaticInstanceBatchRender StaticInstanceBatchRender 类用于创建动作状态。 Hierarchy BatchRender StaticInstanceBatchRender Implements IBoundsCell Index Constructors constructor Properties _extra _receiveShadow _...

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