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

大约有 3,008 项符合查询结果, 库内数据总量为 30,910 项。 (搜索耗时: 0.0090 秒)

2331. laya.d3.math.Quaternion [ 48%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames QuaternionProperties | Methods | Constants Packagelaya.d3.mathClasspublic class QuaternionInheritanceQuaternion ObjectImplements laya.d3.core.IClone Quaternion 类用于创建四元数。 Public Properties PropertyDefi...

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

2332. Tree属性详解(JavaScript-IDE篇(JS)-IDE组件属性详解) [ 48%]

....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_文档 发布时间: 20210715

2333. laya.d3.core.light.PointLight [ 48%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames PointLightProperties | Methods | Events | Constants Packagelaya.d3.core.lightClasspublic class PointLightInheritancePointLight LightSprite Sprite3D ComponentNode Node EventDispatcher Object PointLight 类用于创建...

来源: laya_api 发布时间: 20170929

2334. laya.resource.TextureCube_API3.0 [ 48%]

...ternals Only exported Menu Globals "laya/resource/TextureCube" TextureCube Class TextureCube TextureCube 类用于生成立方体纹理。 Hierarchy BaseTexture TextureCube Index Constructors constructor Properties _id destroyedImmediately lock name url uuid DEBUG Accessors anisoLevel baseMipmapLeve...

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

2335. timer.loop帧率高于物理帧率移动父级导致子物体本地坐标异常 [ 48%]

...)执行代码可以发现移动父级,子物体本地位置异常。  class PhysicsWorldBaseCollider{     constructor(){         //初始化引擎         Laya3D.init(0, 0);         //设置画布模式         Laya.stage.scaleMode = Laya.Stage.SCALE_FULL;         Laya.sta...

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

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

...打开超大分辨率图片 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

2337. 通过PrimitiveMesh创建简单Mesh(ActionScript-3D基础(AS3)-LayaAir3D之模型和网格) [ 48%]

...API](https://layaair.ldc.layabox.com/api2/Chinese/index.html?category=Core&class=laya.d3.resource.models.PrimitiveMesh)。 创建时需注意的是,加载到场景中的引擎自带模型,轴心点在模型正中心,因此我们是以模型中心点为参考进行移动、旋转、缩放。加...

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

2338. 多场景跳转遇到当前场景不能remove的问题 [ 48%]

...ndow.sceneSelectroommultiple); delete window.sceneSelectroommultiple; Laya.class(StartgameUI, "StartgameUI", startgameUI); var sceneStartgame = new StartgameUI(); window.sceneStartgame= sceneStartgame; Laya.stage.addChild(sceneStartgame); 5个场景,4个跳转,前2个正常,后2个不正常,...

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

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

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

2340. TS版本的官方示例,导出到玩一玩,在读写文件时能存不能读,读不出来,甚至直接读取会显示字符串里边有乱码。。。。 [ 48%]

...er.js的 var LocalStorageAdpt=(function(){ function LocalStorageAdpt(){} __class(LocalStorageAdpt,'BKLaya.adptcodes.LocalStorageAdpt'); LocalStorageAdpt._readData=function(){ if (!BK.FileUtil.isFileExist(LocalStorageAdpt.dataPath)){ return null; } try{ var dataO=BK.FileUtil.readFile(LocalStorageAdpt...

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