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

大约有 1,561 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0072 秒)

1001. LayaBox加载TiledMap地图和注意事项 [ 54%]

...[/*] [*] [/*] [*] [/*] [*] [/*] [*] [/*] [/list] [code]export default class DesertUI extends Laya.Scene {    constructor() { super();        DesertUI.instance = this; Laya.MouseManager.multiTouchEnabled = false;        this.loadScene("Desert.scene"); //初始化舞台 Laya...

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

1002. List属性详解(JavaScript-IDE篇(JS)-IDE组件属性详解) [ 54%]

....layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=2D&category=UI&class=laya.ui.List)。 ### 1.1 创建 List 组件 #### 1.编辑列表项。 ​ 列表项可以是 Box 对象或 View(页面) 或其它自定义页面对象。此处以Box 对象为例。 ​ **a.**从资源面板里选...

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

1003. laya.d3.physics.PhysicsComponent_API3.0 [ 54%]

... exported Menu Globals "laya/d3/physics/PhysicsComponent" PhysicsComponent Class PhysicsComponent PhysicsComponent 用于创建物理组件的父。 Hierarchy Component PhysicsComponent PhysicsTriggerComponent CharacterController Index Constructors constructor Properties _extra _singleton canS...

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

1004. (canvas.toDataURL)在安卓机上base64图片的色差问题 [ 54%]

...mage/png");     H5中代码: <img src="base64:xxxxxxxxxxxxx" alt="" class="work-img">     附件: 图1(苹果、PC机):     图2(安卓机):   附件 : --> 2018-07-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相...

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

1005. 使用以下代码打开超大分辨率图片 WebGL 模式无法正常显示 [ 54%]

...打开超大分辨率图片 WebGL 模式无法正常显示 // 程序入口 class GameMain{ constructor() { Laya.init(900,1440,Laya.WebGL); //WebGL Laya.Stat.show(0,0); let sp:Laya.Sprite = new Laya.Sprite; //sp.loadImage("comp/big.png"); //读取分辨率小的图片 正常 sp.loadImage("comp/hug.pn...

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

1006. 内存释放问题 [ 54%]

LayaAir引擎 内存释放问题 export class ResUIModuleManager { /** * 模块资源路径 */ private static moduleResPath: string = 'res/atlas/{0}.json'; /** * 模块的资源名称和模块的主面板(模块的主面板全名,模块资源图集名称[]) * @type {Laya.Dictionary} * @mem...

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

1007. Unity导出lh文件中包含"LineSprite3D"时,在使用时报错 [ 54%]

...lh文件时报错: laya.d3.js:30421 Uncaught Error: Utils3D:unidentified class type in (.lh) file.     at Function._createSprite3DInstance (laya.d3.js:30421)     at Function._createSprite3DInstance (laya.d3.js:30426)     at Function._createNodeByJson02 (laya.d3.js:30458)     at Function._p...

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

1008. 导入FBX报错 [ 54%]

...ertex count: 347 [2023-06-20 18:19:19.050] [resource_tool] [info] Material class: FbxSurfacePhong [2023-06-20 18:19:19.050] [resource_tool] [info] aToon_Palette_Outline lTransColor valid. [2023-06-20 18:19:19.050] [resource_tool] [info] aToon_Palette_Outline lTransFactor valid. [2023-06-20 18:19:19....

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

1009. Tree属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 54%]

....layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=2D&category=UI&class=laya.ui.Tree)。 ### 1.1 Tree 组件主要由两个部分组成: - 项单元格(可以是 Box 、页面 View、自定义页面); - 纵向滚动条 VScrollBar; ### 1.2 Tree 组件的单元格通常由四部分...

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

1010. 1.7版本要初始化后有些代码才能用了 [ 54%]

...= new laya.display.Text(); // in this line is error , so you can't defined class before "Laya.init" Laya.init(800,600); //test.text = new laya.display.Text(); // in this line is right test.text.text = "dsafdsdsada"; test.text.color = "#ff0000"; Laya.stage.addChild(test.text); </script> 2017-03...

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