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

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

2741. UI加载完成后无法获取控件的大小——超详细版问题 [ 40%]

...= Stage.SCALE_FIXED_WIDTH; Laya.loader.load([{ url: "res/atlas/comp.json", type: Loader.ATLAS }], Handler.create(this, this.onLoaded)); function onLoaded(): void { //实例UI界面 var testUI: TestUI = new TestUI(); Laya.stage.addChild(testUI); console.log("myref-onloaded", testUI.myref.getBounds())...

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

2742. laya.d3.math.Matrix4x4_API3.0 [ 40%]

...tempVector0 _tempVector1 _tempVector2 _tempVector3 Legend Class Class with type parameter Constructor Property Method Object literal Variable Function Type alias Static property Static method Enumeration Interface

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

2743. 水平滚动条组件 · LayaAir3.4 · 引擎文档 · LAYABOX [ 40%]

...Laya; @regClass() export class NewScript extends Laya.Script { @property({ type: Laya.HScrollBar }) public hscroll: Laya.HScrollBar; //组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { this.hscroll.skin = "atlas/comp/hscroll.png";//...

来源: Laya3.0_文档 发布时间: 20251010

2744. 垂直滚动条组件 · LayaAir3.4 · 引擎文档 · LAYABOX [ 40%]

...Laya; @regClass() export class NewScript extends Laya.Script { @property({ type: Laya.VScrollBar }) public vscroll: Laya.VScrollBar; //组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { this.vscroll.skin = "atlas/comp/vscroll.png";//...

来源: Laya3.0_文档 发布时间: 20251010

2745. laya.d3.component.volume.batchvolume.StaticInstanceBatchRender_API3.0 [ 40%]

...changeVertexDefine shaderValueInit Legend Object literal Variable Function Type alias Class Class with type parameter Constructor Method Inherited property Inherited method Inherited accessor Enumeration Interface

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

2746. LayaAir3D 导出和使用U3D粒子特效 [ 40%]

...3D物体或者特效上面吗? 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. unity中的模型导出后在laya中显示不正常 使用了u3D导出来的粒子,不停的显示移除并销毁其克隆对象,统计面板的显存和内存就会显示成负数 从u...

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

2747. laya.d3.physics.CharacterController_API3.0 [ 40%]

... onPostRender onPreRender onReset onStart onUpdate Legend Class Class with type parameter Constructor Property Method Accessor Object literal Variable Function Type alias Inherited property Inherited method Inherited accessor Enumeration Interface Static property

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

2748. LayaAirID 打包app测试 apk无法开启webgl。用浏览器扫码进入就没问题 [ 40%]

...this.currTexture && Render.isWebGL && this.currDisplayData.type==0 && this.currDisplayData.uvs){ this.currTexture=this.currDisplayData.createTexture(this.currTexture); } } }else { this.displayIndex=-1; this.currDisplayData=null; this.currTexture=null; } } 这个函数里 if (...

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

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

...ttps://layaair2.ldc2.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

2750. Animation属性详解(JavaScript-IDE篇(JS)-IDE组件属性详解) [ 39%]

...ttps://layaair2.ldc2.layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=Core&category=display&class=laya.display.Animation) ## 2、通过LayaAirIDE创建Animation 组件 ### 2.1 创建Animation Animation不是常用的UI组件,也不是容器组件。所以在创建Animation组件的时候...

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