大约有 7,299 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0121 秒)
Laya_社区(6604) Laya2.0_文档(183) Laya3.0_api(118) laya_api(102) Laya2.0_api(90) Laya_示例(86) Laya3.0_文档(59) Laya2.0_示例(57)
...equest,希望改正 /** 事件目标触发对象。*/ target: laya.display.Sprite; /** 事件当前冒泡对象。*/ currentTarget: laya.display.Sprite; 2016-07-01 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Mo...
来源: Laya_社区 发布时间: 20160701
...容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: 把线放在sprite里操作 sprite旋转。 2018-02-25 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回复 发起人 Jacket 相关问题 sprite旋转以后,但...
来源: Laya_社区 发布时间: 20180223
...18-08-17 0 0 分享 微博 QZONE 微信 Barry Allen 赞同来自: import Sprite = Laya.Sprite export default class Test extends Sprite{ public DEF_SIZE: number = 200 public CIRCLE_WIDTH: number = 20 public $circleSprite: Sprite = new Sprite() public startY: number = -90 constructor() { super() thi...
来源: Laya_社区 发布时间: 20180123
2.0中如何移动一组静态刚体? 我在一个sprite A下创建了一组静态刚体 如果A上没有刚体 移动A后子刚体不移动 但是子刚体的sprite跟着移动 子刚体发生碰撞后对应sprite回归原位 如果A上有刚体 移动A后子刚体不移动但是对应spri...
来源: Laya_社区 发布时间: 20190212
...ght.direction = new Laya.Vector3(1, -1, 0); var dude = scene.addChild(Laya.Sprite3D.load("../../res/threeDimen/skinModel/dude/dude.lh")); dude.once(Laya.Event.HIERARCHY_LOADED, this, function () { var customMaterial1 = new CustomMaterial(); customMaterial1.setDiffuseTexture(Laya.Texture2D.load("../....
来源: Laya_示例 发布时间: 20241002
导入微信小游戏的时候 WAGame.js:3 gameThirdScriptError Sprite3D: The .lh file root type must be Sprite3D,please use other function to load this file.;at api readFile success callback function Error: Sprite3D: The .lh file root type must be Sprite3D,please use other function to load ...
来源: Laya_社区 发布时间: 20180228
... onAwake():void{ console.log(1111); } } 2.继承Sprite 执行后会有onAwake let t = new tt(); Laya.Scene.root.addChild(t); } } //激活启动类 new Main(); class tt extends Laya.Sprite{ constructor(){ su...
来源: Laya_社区 发布时间: 20190701
order层次不起作用 3个sprite,一个sprite做主界面A,一个sprite做弹窗界面B,一个sprite图集动画C, 当进入界面A时,打开弹窗B,想播放一个动画C, C竟然在A,B之间,无法显示在B的上层, 目前配置的层次是: A.zorder = 10 B.zorder = 1 C.zord...
来源: Laya_社区 发布时间: 20171103
...复过我 你给我的那个连接 也是我发的 但是有问题 我new sprite 然后 添加一个list 然后 sprite设置rotation = 180 那么你滑动list就是反向的了 你给我的连接 那个例子 角度 不是180根本发现不了问题 如果你把sprite的rotation设置成90 那么上...
来源: Laya_社区 发布时间: 20180119
...址](https://layaair.ldc.layabox.com/demo2/?language=ch&category=3d&group=Sprite3D&name=TransformDemo))代码,首先我们 **克隆** 两个猴子(克隆的知识点会在精灵Sprite3D的章节详细讲解),来看下效果,并且在克隆后为了方便观察我们2个猴子的位置。...
来源: Laya2.0_文档 发布时间: 20210715