大约有 3,008 项符合查询结果, 库内数据总量为 30,910 项。 (搜索耗时: 0.0090 秒)
Laya_社区(1073) Laya3.0_api(672) Laya2.0_api(368) laya_api(298) Laya2.0_文档(233) Laya_示例(146) Laya2.0_示例(118) Laya3.0_文档(100)
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
....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
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
...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
...)执行代码可以发现移动父级,子物体本地位置异常。 class PhysicsWorldBaseCollider{ constructor(){ //初始化引擎 Laya3D.init(0, 0); //设置画布模式 Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.sta...
来源: Laya_社区 发布时间: 20200223
...打开超大分辨率图片 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
...API](https://layaair.ldc.layabox.com/api2/Chinese/index.html?category=Core&class=laya.d3.resource.models.PrimitiveMesh)。 创建时需注意的是,加载到场景中的引擎自带模型,轴心点在模型正中心,因此我们是以模型中心点为参考进行移动、旋转、缩放。加...
来源: Laya2.0_文档 发布时间: 20210715
...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
...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
...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