大约有 6,956 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0118 秒)
Laya_社区(6391) Laya2.0_文档(168) Laya3.0_文档(83) Laya3.0_api(76) Laya2.0_api(72) laya_api(68) Laya_示例(62) Laya2.0_示例(36)
...方式存储,可以通过cmds属性访问所有命令流。Graphics是比Sprite更轻量级的对象,合理使用能提高应用性能(比如把大量的节点绘图改为一个节点的Graphics命令集合,能减少大量节点创建消耗)。 See alsolaya.display.Sprite.graphicsPublic Proper...
来源: laya_api 发布时间: 20170929
...景内 Laya.loader.load("girl/girl.lh").then(res => { let girl : Laya.Sprite3D = res.create(); this.scene3D.addChild(girl); //获得Animator this._animator = girl.getComponent<Laya.Animator>(Laya.Animator); }); this.on( Laya.Event.MOUSE_DOWN, this, this.switchAni ); } switchAni(): void { if...
来源: Laya3.0_文档 发布时间: 20251010
...请求有Bug? 使用钢体设置防穿后仍有几率会穿透 如何设置Sprite的宽高和点击区域? 使用了u3D导出来的粒子,不停的显示移除并销毁其克隆对象,统计面板的显存和内存就会显示成负数 【BUG备忘录】关于Tween动画无法正常作用问...
来源: Laya_社区 发布时间: 20170323
... 看了其他引擎才发现 LAYA 真的太太太太好用了!!!! sprite旋转以后,但是原来碰撞检测rect没有旋转 laya针对页游耗用内存大的问题是如何解决的? 关于Laya实现Matter.js官方案例凹多边形的问题 Laya2.6.0beta 物理引擎 刚体碰撞点...
来源: Laya_社区 发布时间: 20191019
...使用官网的旧版例子中的代码 addSkinComponent(spirit3D: Laya.Sprite3D): void { if (spirit3D instanceof Laya.MeshSprite3D) { var meshSprite3D: Laya.MeshSprite3D = spirit3D as Laya.MeshSprite3D; var skinAni: Laya.SkinAnimati...
来源: Laya_社区 发布时间: 20180724
...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
...tyPlugin 使用须知-版本更新-问题解答(最新版本:1.7.16) sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale TS项目使用matter.js库无智能提示 微信小游戏:HTMLDivElement的使用 使用3D时候,Property 'getComponentByType' does not exist on...
来源: Laya_社区 发布时间: 20180919
...; for(let i in aniProps.mc[options.srcName].frames) { let skill = new Laya.Sprite(); // 创建一个用于存放位图数组的临时精灵 let texture = Laya.loader.getRes(options.srcPath+options.srcName+".png"); // 读取图集生成大切片 let textureIns = Laya.Texture.create(texture, aniProps....
来源: Laya_社区 发布时间: 20190215
...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
...!! 分享:LayaAir下Loading进度条的制作(ActionScript 3.0) sprite旋转以后,但是原来碰撞检测rect没有旋转 请问有没有方法能够获取“鼠标是否处于按下状态”? Layabox 2.0 bate5 运行编译之后 bundle.js 文件里面没有使用命名空间类文...
来源: Laya_社区 发布时间: 20180824