大约有 2,299 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0105 秒)
Laya_社区(1686) Laya2.0_文档(140) Laya3.0_api(124) Laya2.0_api(97) Laya3.0_文档(86) laya_api(69) Laya_示例(52) Laya2.0_示例(45)
...e.graphics.drawTexture(texture) B:backImage.texture = texture 1.7版本可以直接把共享画布赋值给组件纹理,2.0不行(A,B两种方法) 报如下错误: value._addReference is not a function 请问现在2。0该如何处理? 附件 : --> 2018-10-01 添加评...
来源: Laya_社区 发布时间: 20181001
...问题 我new sprite 然后 添加一个list 然后 sprite设置rotation = 180 那么你滑动list就是反向的了 你给我的连接 那个例子 角度 不是180根本发现不了问题 如果你把sprite的rotation设置成90 那么上下滑动本动不了 希望修复这个bug 因为我们有...
来源: Laya_社区 发布时间: 20180119
LayaFlash getQualifiedClassName和组件定义问题 1.flash.utils.getQualifiedClassName; 现有一个rect_mc, flash库的中链接类名为:Rect, 尝试.getQualifiedClassName(rect_mc)得到的是"iflash.display::MovieClip"而不是"Rect".虽说不支持链接类,但是很多时候写这个类名...
来源: Laya_社区 发布时间: 20160407
...目就闪退? var ApiService = class { // private static readonly baseUrl1 = 'https://75xlni078957.vicp.fun'; // 发送通用请求(添加认证令牌支持) static _sendRequest(config) { return __async(this, null, function* () { const { endpoint, method, body, queryParams, token } = config; t...
来源: Laya_社区 发布时间: 20251115
...tate`,还一种是欧拉角旋转`localRotationEuler:Vector3`。 (图1) 为了方便观察效果节选了官方示例([demo地址](https://layaair.ldc.layabox.com/demo2/?language=ch&category=3d&group=Sprite3D&name=TransformDemo))代码,首先我们 **克隆** 两个猴子...
来源: Laya2.0_文档 发布时间: 20210714
...sCustomCollisionCallback Defined in laya/d3/physics/shape/ColliderShape.ts:115 Static SHAPEORIENTATION_UPX SHAPEORIENTATION_UPX: number = 0 Inherited from CompoundColliderShape.SHAPEORIENTATION_UPX Defined in laya/d3/physics/shape/ColliderShape.ts:14 形状方向_X轴正向 Static SHAPEORIENTATION_U...
来源: Laya3.0_api 发布时间: 20231115
...tate`,还一种是欧拉角旋转`localRotationEuler:Vector3`。 (图1) 为了方便观察效果节选了官方示例([demo地址](https://layaair.ldc.layabox.com/demo2/?language=ch&category=3d&group=Sprite3D&name=TransformDemo))代码,首先我们 **克隆** 两个猴子...
来源: Laya2.0_文档 发布时间: 20210715
...ht TypeError: ProgressBar is not a constructor at onLoadComplete (game.js:81) at Handler.__proto.runWith (laya.core.js:686) at ResInfo.loadComplete (laya.core.js:12634) at EventHandler.__proto.runWith (laya.core.js:687) at ResInfo.__proto.event (laya.core.js:465) at LoaderManager.__proto._endLoad (l...
来源: Laya_社区 发布时间: 20180316
...的组件都将在`层级管理器`中以层级结构进行展现。 ### 1、层级结构 #### 1.1 根级 除非在创建UI页面时选择Dialog,否则,无论是UI还是动画,根级都是View,ID为1。如图1所示。  (图1) #### 1.2 多层嵌套 层级管理器中允许...
来源: Laya2.0_文档 发布时间: 20210715
...域进行截屏 var htmlC:HTMLCanvas =sp.drawToCanvas(100,100,0,0); //获取截屏区域的texture var _texture:Texture = new Texture(htmlC); //将截屏的texture进行draw绘制并显示到舞...
来源: Laya_社区 发布时间: 20170424