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

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

1271. 开放域中,子域绘制的图像能不能放到3D世界坐标系中? [ 64%]

...用微信开发者工具打开报错 富文本下划线绘制bug new Laya.Sprite();绘制图形以后,怎么删除释放资源? drawCurves(x:Number, y:Number, points:Array, lineColor:*, lineWidth:Number = 1):void 绘制一系列曲线。 微信小游戏利用开放域好友关系链做排行榜 ...

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

1272. JS进度条加载问题 [ 64%]

...oLoaded),null,true,true); } function showProgress() { progressBar=new Laya.Sprite(); progressBar.loadImage("comp/BG1.jpg",50,300); progressBar.width=300; progressBar.sizeGrid="5,5,5,5"; progressBar.changeHandler=new Handler(this,onChange); //当progressBar的value值改变时触发 Laya.stage.addChi...

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

1273. 按照打地鼠教程来无法正常加载资源 [ 64%]

...提示无法打开代码编辑器 请配置 这个怎么解决? new Laya.Sprite();绘制图形以后,怎么删除释放资源? 做好的粒子特效在U3D里循环正常。在LAYA插件里预览跳帧闪烁。序列素材本身也是循环的。但是不知道为什么会跳帧。 laya3D动画...

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

1274. Stage中删除不掉Scene [ 64%]

...aya.Event.MOUSE_UP, this, function () {     var str = "";     if (!hit.sprite3D) {         str = "点击选取的几何体";     } else {         Laya.stage.removeChild(scene3D);     }     console.log(str); });     每次删除scene3D后又被添加进来了。不知道什么原...

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

1275. 失败animation删除以后,再新建新的animation时,animation无会生效 [ 64%]

...回复被折叠 要回复问题请先登录 发起人 剑哥 相关问题 sprite旋转以后,但是原来碰撞检测rect没有旋转 微信小程序—未找到入口 app.json 文件,或者文件读取失败,请检查后重新编译。 anchor锚点设置不生效 Animation 的createFrames 使...

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

1276. pivotX 和 AnchorX的区别 [ 64%]

pivotX 和 AnchorX的区别 sprite 的pivotX属性,而组件有pivotX属性和AnchorX属性,spite的pivotX属性,我感觉就是AnchorX, 但组件里面这俩都有,能帮解释一下吗?不太懂 2017-01-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 ...

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

1277. 滤镜 太伤性能了,还有别的方法吗?求高手解答 [ 64%]

...时失败 分享:技术突破:HTML5裸跑性能已可媲美APP 大量sprite如何优化性能 有没有Unity3d的Vector3.Angle(计算两个三维向量之间的角度)这样的方法?或求3D抛物线移动的方法或算法。 分享:Sprite 转换成3D贴图(Texture2D)的方法,...

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

1278. laya.ui.VScrollBar [ 63%]

...ya.uiClasspublic class VScrollBarInheritanceVScrollBar ScrollBar Component Sprite Node EventDispatcher Object 使用 VScrollBar (垂直 ScrollBar )控件,可以在因数据太多而不能在显示区域完全显示时控制显示的数据部分。 Public Properties Hide Inherited Public Proper...

来源: laya_api 发布时间: 20170929

1279. 新手,图片加载不进去,没有报错。很疑问 [ 63%]

... function BackGround(){ BackGround.__super.call(this); this.bg1 = new Laya.Sprite(); this.bg1.loadImage("comp/bg.png"); this.addChild(this.bg1); } Laya.class(BackGround,"BackGround",_super); return BackGround; })(Laya.Sprite)代码我这样写可以正常显示,你试试 2017-02-22 0 1 分享 微...

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

1280. 这样的panel请问如何实现比较好? [ 63%]

...来自: 实现步骤: 1、定义一个Item,界面分两层(可用两个Sprite进行划分) class Item extends ui.itemUI { private state = 0; constructor() { super(); //点击最先出来的按钮,会显示下一层界面,同时隐藏自己 this.btnFirst.on(Laya.Event.CLICK, this, this.change, ...

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