大约有 94 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0074 秒)
...,微信小游戏 Android 端调整 “在屏 Canvas” 的放缩策略 sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale 纹理平铺怎么做 LayaAirIDE下如何使用mask? 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 分享:打地...
来源: Laya_社区 发布时间: 20231020
...保一个对象能够被回收,需要删除对该对象的所有引用。Sprite提供的`destory()`方法会帮助设置内部引用为null。 例如,以下代码确保对象能够被作为垃圾回收: 1. `//创建一个Sprite实例` 2. `var sp = new Laya.Sprite();` 3. `//将sp内部引用设...
来源: Laya2.0_文档 发布时间: 20210715
...个Laya的AS项目,代码如下: ```java package { import laya.display.Sprite; import laya.events.Event; import laya.net.HttpRequest; import laya.utils.Browser; public class LayaSample { public function LayaSample() { //初始化引擎 Laya.init(1136, 640); var sp:Sprite = new Sprite(); var xhr:...
来源: Laya2.0_文档 发布时间: 20210714
...前已经被锁定, 无法添加新回复 发起人 下雨天 相关问题 sprite旋转以后,但是原来碰撞检测rect没有旋转 unity导出粒子文件问题 laya针对页游耗用内存大的问题是如何解决的? LayaAir3D UnityPlugin 使用须知-版本更新-问题解答(最新...
来源: Laya_社区 发布时间: 20181211
...直接rotate,可以看到旋转了。 顺便问一下,要想知道Sprite3D.load加载完成,只能继承并重写onAsynLoaded? -------------------------------------------------------------------------------------ok, 我检查了worldMatrix,确实在设置了localRotation之后就不再...
来源: Laya_社区 发布时间: 20170323
...{ constructor() { //初始化引擎 Laya.init(1136,640); var sp = new Laya.Sprite(); var xhr = new Laya.HttpRequest(); xhr.once(Laya.Event.COMPLETE,this,this.completeHandler); xhr.once(Laya.Event.ERROR,this,this.errorHandler); xhr.send("res/a.png","","get","arraybuffer"); } private completeHandler(d...
来源: Laya2.0_文档 发布时间: 20210714
...: ```javascript //初始化引擎 Laya.init(1136,640); var sp = new Laya.Sprite(); var xhr = new Laya.HttpRequest(); xhr.once(Laya.Event.COMPLETE,this,completeHandler); xhr.once(Laya.Event.ERROR,this,errorHandler); xhr.send("res/monkey2.png","","get","arraybuffer"); function completeHandler(data){...
来源: Laya2.0_文档 发布时间: 20210715
...sform: Transform3D; onStart(): void { this.transform = (this.owner as Laya.Sprite3D).transform; this.CurrentAngles = new Vector3(-this.transform.rotationEuler.x, this.transform.rotationEuler.y, 0); this.targetAngles = new Vector3(-this.transform.rotationEuler.x, this.transform.rotationEuler.y, 0); t...
来源: Laya_社区 发布时间: 20170714
...sform: Transform3D; onStart(): void { this.transform = (this.owner as Laya.Sprite3D).transform; this.CurrentAngles = new Vector3(-this.transform.rotationEuler.x, this.transform.rotationEuler.y, 0); this.targetAngles = new Vector3(-this.transform.rotationEuler.x, this.transform.rotationEuler.y, 0); t...
来源: Laya_社区 发布时间: 20190224
...tyPlugin 使用须知-版本更新-问题解答(最新版本:1.7.16) sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale LayaAirIDE下如何使用mask? 微信小游戏:HTMLDivElement的使用 关于近期iOS提交,因违反苹果3.1.1导致APP上架被拒的说...
来源: Laya_社区 发布时间: 20200921