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

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

2971. [LayaAir2]性能统计面板中的渲染节点Sprite数量会不断增加,游戏越来越卡 [ 45%]

...的回复不见了, 很简单,你的清理函数有问题 删除之后index增加了导致有些没清理成功。 我在你的代码里加了个函数clearMonster你可以试试。并吧battlescene做成了全局,可以在控制台控制   2024-04-23 0 2 分享 微博 QZONE 微信 为什么...

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

2972. laya.d3.graphics.IndexBuffer3D [ 45%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames IndexBuffer3DProperties | Methods | Constants Packagelaya.d3.graphicsClasspublic class IndexBuffer3DInheritanceIndexBuffer3D Buffer laya.resource.Resource IndexBuffer3D 类用于创建索引缓冲。 Public Properties H...

来源: laya_api 发布时间: 20170929

2973. 我是AS程序员,关于人物动画和物理引擎有几个问题 [ 45%]

...关,Ani不仅仅可以进行切片,同时可以对播放速度、帧(index、count)进行控制   总结:除了Ani动画外,我们还提供了swf动画、时间轴动画、龙骨动画(dragonbones、spine)、Clip切片组件等...方案 第二个问题:matter.js的用法?   Lay...

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

2974. laya.d3.resource.RenderTexture_API3.0 [ 45%]

Search Preparing search index... The search index is not available ts Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/resource/RenderTexture" RenderTexture Class RenderTexture Hierarchy BaseTexture RenderTexture RenderTextureCube WebXRRenderTexture Mu...

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

2975. 老项目适配百度小游戏详解(TypeScript-小游戏适配文档-百度小游戏) [ 45%]

...`html ``` 如果是1.8.0之前的TS或JS老项目,需要开发者在`bin/index.html`中手动加入图中红框内的这段代码,另外还要确认一下当前使用的是不是1.8.0之后的新版本引擎库,如果不是,要切换为新引擎库,否则在运行的时候会因为找不...

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

2976. laya.display.Text [ 44%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames TextProperties | Methods | Events | Constants Packagelaya.displayClasspublic class TextInheritanceText Sprite Node EventDispatcher ObjectSubclasses Input Text 类用于创建显示对象以显示文本。 注意:如...

来源: Laya2.0_api 发布时间: 20190513

2977. 分享:Sprite 转换成3D贴图(Texture2D)的方法,如果有更好的方法,请告诉我。 [ 44%]

...果有更好的办法,也请告诉我,先谢谢了。   1.首先在 index.html 文件中放置如下代码: <script type="text/javascript"> function convertCanvasToImage(canvas,callback,thisObj) { var image = new Image(); image.onload = function() { console.log("图片已经加载"); ca...

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

2978. ja语言怎么样创建一个工具类在其他地方调用 [ 44%]

...,就是js语法。 Laya_Aaron • 2018-07-05 11:09 这个在laya里也是index.html引用js b456410 • 2018-07-05 11:13 小哥哥我就是不太懂laya里js语言怎么写封装代码,并且在其他的地方重复使用,应该怎么写,不是引用外部的。 Laya_Aaron • 2018-07-05 11:...

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

2979. laya.resource.RenderTexture_API3.0 [ 44%]

Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/resource/RenderTexture" RenderTexture Class RenderTexture Hierarchy BaseTexture RenderTexture WebXRRenderTexture RenderTextureCube ...

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

2980. 缓动动画(JavaScript-LayaAir基础篇(JS)-动画基础) [ 44%]

...ore&class=laya.utils.Tween](https://layaair2.ldc2.layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=Core&category=Utils&class=laya.utils.Tween) `Ease`类的API中对缓动函数进行了基础的介绍,点击链接可直接查看API:[https://layaair.ldc.layabox.com/api/?category=Core&cl...

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