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

大约有 3,288 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0073 秒)

811. laya.d3.core.glitter.Glitter [ 74%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames GlitterProperties | Methods | Events | Constants Packagelaya.d3.core.glitterClasspublic class GlitterInheritanceGlitter RenderableSprite3D Sprite3D ComponentNode Node EventDispatcher Object Glitter 类用于创建闪...

来源: laya_api 发布时间: 20170929

812. 一个修复Laya1.8.3中的粒子销毁时报错黑屏问题的思路 [ 74%]

... attrs = Laya.Buffer._enableAtributes; if (attrs) { attrs.forEach((buffer, index) => { if (buffer && buffer.deleted) { Laya.WebGL.mainContext.disableVertexAttribArray(index); attrs[index] = null; } }); while (attrs.length > 0 && attrs[attrs.length - 1] == null) attrs.pop(); } }...

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

813. 【LayaAirIDE 1.8.2】使用Rollup打包js ,报错 ui is not defined,附带 必现问题 DEMO [ 74%]

...同来自: 1. rollup是用来打包es模块的。 2. 1.0IDE编译后是用index.html串联的项目,所以引用顺序和依赖没有问题,你直接用rollup input "**/*.*",他又不知道js的引用和依赖顺序,所以打包时就是按照文件夹和目录中的顺序打包。而且roll...

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

814. 动画-图集动画 [ 74%]

...动画 ani.interval = 30; // 设置播放间隔(单位:毫秒) ani.index = 1; // 当前播放索引 ani.play(); // 播放图集动画 // 获取动画的边界信息 let bounds = ani.getGraphicBounds(); ani.pivot(bounds.width / 2, bounds.height / 2); ani.pos(Laya.stage.width / 2, Laya.stage.hei...

来源: Laya2.0_示例 发布时间: 20251209

815. laya.d3.core.particle.Particle3D [ 74%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames Particle3DProperties | Methods | Events | Constants Packagelaya.d3.core.particleClasspublic class Particle3DInheritanceParticle3D RenderableSprite3D Sprite3D Node EventDispatcher Object Particle3D 3D粒子。 Public Pr...

来源: laya_api 发布时间: 20170603

816. 如何资源路径改成绝对路径 [ 74%]

如何资源路径改成绝对路径 我的需求是这样的,把index.html里面的所有的资源路径都变成绝对路径,然后我们上线 只通过 index.html,但是laya里面的ui资源加载失败,然后我就从layaUI.max.all.js里面修改ui路径成 绝对路径,然后报跨...

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

817. laya.d3.core.particleshuriken.module.shape.CircleShape_API3.0 [ 74%]

Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/particleShuriKen/module/shape/CircleShape" CircleShape Class CircleShape CircleShape 类用于创建环形粒子形状。 H...

来源: Laya3.0_api 发布时间: 20231115

818. ViewStack属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 74%]

... ViewStack 组件的API使用请参考 [http://layaair.ldc.layabox.com/api/index.html?category=Core&class=laya.ui.ViewStack](https://layaair2.ldc2.layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=2D&category=UI&class=laya.ui.ViewStack)。 ## 2、通过LayaAirIDE创建ViewStack组件 ### 2....

来源: Laya2.0_文档 发布时间: 20210715

819. 动画-图集动画 [ 74%]

...动画 ani.interval = 30; // 设置播放间隔(单位:毫秒) ani.index = 1; // 当前播放索引 ani.play(); // 播放图集动画 // 获取动画的边界信息 var bounds = ani.getGraphicBounds(); ani.pivot(bounds.width / 2, bounds.height / 2); ani.pos(Laya.stage.width / 2, Laya.stage.hei...

来源: Laya_示例 发布时间: 20251209

820. getChildAt有bug取到的值和_children[]不一样 [ 74%]

...交 1 个回复 Laya_Aaron 赞同来自:    public function getChildAt(index:int):Node {             return this._children[index] || null;         }   请提供不一样的demo 2019-02-13 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题...

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