大约有 448 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0107 秒)
... 在3D场景中,过多同时播放的Spine3D实例会显著增加Draw Call。建议通过对象池管理Spine3D实例,及时回收不用的实例。 4.4 优化资源加载 建议将常用的Spine资源预加载,避免运行时动态加载导致的卡顿。 // 预加载常用Spine资源 Laya.lo...
来源: Laya3.0_文档 发布时间: 20260203
...义1.2 默认配置与自定义2D物理配置1.3 刚体休眠功能开关 allowSleeping1.4 重力加速度 gravity1.5 速度迭代次数 velocityIterations1.6 位置迭代次数 positionIterations1.7 长度单位转换比率 pixelRatio1.8 是否开启 2D 物理绘制 debugDraw2、3D物理2.1 固定...
来源: Laya3.0_文档 发布时间: 20260122
API DocumentationAll Packages | All Classes | Index | Frames No Frames UIComponentProperties | Methods | Events Packagelaya.uiClasspublic class UIComponentInheritanceUIComponent Sprite Node EventDispatcher ObjectSubclasses Box, Button, Clip, ColorPicker, ComboBox, Image, Label, ProgressBar...
来源: Laya2.0_api 发布时间: 20190513
...原因吗? 08-14 10:57:48.464 22228-22354/? I/LayaBox: JSRuntime::callMethod {} 08-14 10:57:48.470 22228-22268/? I/System: core_booster, getBoosterConfig = true 08-14 10:57:48.523 2977-2977/? E/Thermal-daemon: [ap] temp_new :49 temp_old :48 Report temperature: [ap] temp :49 report_t...
来源: Laya_社区 发布时间: 20180814
...ns : [ { caption : "点我", event: "my_click" } ] } } ] } ]); this._panel.allowUndo = true; //根据需要设置 //如果不需要undo功能,也可以直接this._data = {}; this._data = IEditor.DataWatcher.watch({}); //inspect可以多次调用,将多个数据组合在一个面板编辑 this._p...
来源: Laya3.0_文档 发布时间: 20251010
.../回到站立状态 this.animator.crossFade("Stand", 0.1); Laya.timer.clearAll(this); } }); } } 看看运行效果,如动图6-6所示: (动图6-6) 6.3 使用状态脚本 对我们的开发需求来说,能够播放和切换动画状态还不够,可能还需要在每一个状态内实现...
来源: Laya3.0_文档 发布时间: 20251010
... Viewport Rect(标准视图矩形) 支持(包括:X、Y、W、H) Allow HDR(允许渲染高动态色彩画面) 支持 Culling Mask在Unity中设置无效,但是layaAir引擎中是支持的,默认值相当于Unity中的Everything,也可以通过引擎的cullingMask进行设置层ID...
来源: Laya3.0_文档 发布时间: 20251010
API DocumentationAll Packages | All Classes | Index | Frames No Frames Scene3DProperties | Methods | Events | Constants Packagelaya.d3.core.sceneClasspublic class Scene3DInheritanceScene3D Sprite Node EventDispatcher ObjectImplements ISubmit, laya.resource.ICreateResource Scene3D 类用...
来源: Laya2.0_api 发布时间: 20190513
API DocumentationAll Packages | All Classes | Index | Frames No Frames LayoutBoxProperties | Methods | Events Packagelaya.uiClasspublic class LayoutBoxInheritanceLayoutBox Box UIComponent Sprite Node EventDispatcher ObjectSubclasses HBox, VBox LayoutBox 是一个布局容器类。 Public P...
来源: Laya2.0_api 发布时间: 20190513
API DocumentationAll Packages | All Classes | Index | Frames No Frames ViewStackProperties | Methods | Events Packagelaya.uiClasspublic class ViewStackInheritanceViewStack Box UIComponent Sprite Node EventDispatcher ObjectImplements IItem ViewStack 类用于视图堆栈类,用于视图...
来源: Laya2.0_api 发布时间: 20190513