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

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

931. laya.ui.List [ 71%]

...d Public Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX轴锚点,值为0-1Component anchorY : NumberY轴锚点,值为0-1Component  array : Array 列表数据源。 List autoSi...

来源: laya_api 发布时间: 20170929

932. laya.ui.ComboBox [ 71%]

... 获取在场景中是否激活。 Node alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值...

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

933. 骨骼动画-换装 [ 71%]

... onError() { trace("error"); } function parseComplete() { //创建模式为1,可以启用换装 mArmature = mFactory.buildArmature(1); mArmature.x = mStartX; mArmature.y = mStartY; Laya.stage.addChild(mArmature); mArmature.on(Event.STOPPED, this, completeHandler); play(); changeSkin(); Laya.timer....

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

934. 射线检测-点击行走 [ 71%]

...()); //初始化照相机 var camera = scene.addChild(new Laya.Camera(0, 0.1, 100)); camera.transform.translate(new Laya.Vector3(0, 2, 5)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); camera.clearColor = null; //方向光 var directionLight = scene.addChild(new Laya.DirectionL...

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

935. Native1.0.1 无法连接wss [ 71%]

Native1.0.1 无法连接wss 如题, Naitve无法连接wss 示例代码如下: const url = "wss://xxx.com:8888"; this.socket = new Laya.Socket(); this.socket.endian = Laya.Byte.BIG_ENDIAN; this.socket.on(Laya.Event.OPEN, this, this.onConnectSuccess); this.socket.on(Laya.Event.CLOSE, this, this.onDis...

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

936. 对话框点击空白处无法关闭 [ 71%]

对话框点击空白处无法关闭 IDE版本1.7.15这是我在编辑模式发布的一个对话框var testUI=(function(_super){ function testUI(){ testUI.__super.call(this); } CLASS$(testUI,'ui.testUI',_super); var __proto__=testUI.prototype; __proto__.createChildren=function(){ laya.ui.Component...

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

937. Unity插件导出后,Transform3D的getForward和getRight让人莫名奇妙 [ 71%]

...用transform.getForward()和transform.getRight()得到的结果却是(0,0,-1)和(1,0,0)真的奇妙 2021-01-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 为什么被折叠? 0 个回复被折叠 要回复问...

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

938. 关于缓动函数from的一些问题记录 [ 71%]

...ext.align = "center"; letterText.valign = "middle"; var offsetPos={offsetX:100,offsetY:100}; letterText.x = Laya.stage.width - letterText.width>>1 +offsetPos.offsetX; letterText.y = 400; Laya.Tween.from(letterText,{y:100},3,Laya .Ease.backOut,new Handler(this,this.onEaseComplete),1,null,true);...

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

939. MovieClip 给SWF播放的对象 [ 71%]

...放的对象 旧版本可以正常播放,IDE2.0版本 位置对不齐 2018-11-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 王大锤 赞同来自: 具体代码位置 MovieClip.as _parseFrame函数内, var...

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

940. 【EffectAnimation】Laya2.0 layaMaxUI不自动生成注册组件代码 [ 71%]

...,编译之后运行提示 ui.scaleUI(我的动画名) undefined,对比1.x,发现,1.x在laya.max.ui里会自动生成注册代码,但是2.0正式版并没有,手动注册以下代码之后编译通过。 View.regComponent("EffectAnimation", laya.display.EffectAnimation); View.regComponent...

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