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

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

1001. 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

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

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

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

1003. 使用以下代码打开超大分辨率图片 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

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

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

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

1005. 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

1006. 导入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

1007. 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

1008. 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

1009. laya.resource.Resource [ 54%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames ResourceProperties | Methods | Events Packagelaya.resourceClasspublic class ResourceInheritanceResource EventDispatcher ObjectImplements laya.resource.ICreateResource, laya.resource.IDisposeSubclasses AnimationTemplet, ...

来源: laya_api 发布时间: 20170422

1010. 怎样将这个数组中的每一行数组打印出来,打印出来的数字是数字,字符串是字符串,不改变[ 54%]

...有通过一个的名字(字符串)来获取该的方法?似get class by name 服务端的数据怎么传到laya前端?laya前端又是如何接收后台的数据呢,后台传到laya的数据型是什么? 通过绘制纹理生成的图片,改变scale时会出现图片不绘制...

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