大约有 1,460 项符合查询结果, 库内数据总量为 30,900 项。 (搜索耗时: 0.0064 秒)
Laya3.0_api(398) Laya_社区(300) Laya2.0_api(251) laya_api(215) Laya2.0_文档(167) Laya3.0_文档(90) Laya2.0_示例(22) Laya_示例(17)
...UNDISPLAY,this,this.stop) this.on(Laya.Event.DISPLAY,this,this.play) } /** 创建滚动区域 */ _createView() { this.hornBox = new Box() let _rectangle = new Laya.Rectangle(0,0,this.defaultX,55) this.hornBox.scrollRect = _rectangle this.hornBox.height = 55 this.hornBox.pos(70,0) this.hornBox.zOrder...
来源: Laya_社区 发布时间: 20180314
...aderClasspublic class Shader3DInheritanceShader3D Object Shader3D 类用于创建Shader3D。 Public Properties PropertyDefined By debugMode : Boolean = false[static] 是否开启调试模式。 Shader3DPublic Methods MethodDefined By Shader3D(name:String, attributeMap:Object, uniformMap:Obj...
来源: Laya2.0_api 发布时间: 20190513
...了个边缘光的自定义shader,有很多问题,帮忙看一下 IDE创建的UI 层级问题 横屏模式在锁定竖屏的iphone上不能正常显示的问题 问题状态 最新活动: 2018-01-03 19:08 浏览: 778 关注: 2 人 q1402907210 • 2018-01-03 18:00 不过为啥面板上显示的...
来源: Laya_社区 发布时间: 20180103
...游戏中需要指定配置好worker路径后通过wx.createWorker方法来创建Worker,在适配库中使用class MiniWorkerLoader接口来自定义实现微信小游戏的Worker内容,从而尽可能将Worker的使用接入引擎的统一处理流程,在项目层减少各平台Worker的适...
来源: Laya3.0_文档 发布时间: 20250103
2D拖尾渲染器(Trail2DRender)一、通过LayaAir IDE创建Trail2DRender组件1.1创建Trail2DRender1.2 Trail2DRender中的属性1.3属性讲解二、在代码中使用Trail2DRender2D拖尾渲染器(Trail2DRender) 2D拖尾渲染器可以在移动的游戏对象后创建一条多边形轨迹。通...
来源: Laya3.0_文档 发布时间: 20250214
... this.onComplete)); } public onComplete():void { //创建场景 var scene = Laya.stage.addChild(new Laya.Scene3D()); //创建相机 var camera = new Laya.Camera(0, 0.1, 100); scene.addChild(camera); camera.name = "camera"; ...
来源: Laya_社区 发布时间: 20190531
2D像素线一、概述二、IDE中创建与使用2.1添加2D线渲染器组件2.2属性设置2.3线段的渲染纹理2.4对比2D线渲染器和Graphics绘制线段三、在代码中使用2D线渲染器组件2D像素线 一、概述 尽管LayaAir引擎提供了绘制图形(Graphics)API用于绘...
来源: Laya3.0_文档 发布时间: 20250214
...ightCom" DirectionLightCom Class DirectionLightCom DirectionLight 类用于创建平行光。 Hierarchy Light DirectionLightCom Index Constructors constructor Properties _extra _singleton color owner runInEditor scriptPath Accessors awaked destroyed enabled hideFlags id intensity lightWorldMatrix li...
来源: Laya3.0_api 发布时间: 20231115
...ject 异步Dialog的生命周期:show或者popup > onCreate(如果没有创建过) > onOpen > onClose > onDestroy(如果销毁) onCreate在页面未创建时执行一次,再次打开页面不会再执行,适合写一些只执行一次的逻辑,比如资源加载,节点事件监...
来源: laya_api 发布时间: 20170929
...mponent.ts:275 组件被激活后执行,此时所有节点和组件均已创建完毕,次方法只执行一次 Returns void onDestroy onDestroy(): void Inherited from Component.onDestroy Defined in laya/components/Component.ts:318 手动调用节点销毁时执行 Returns void onDisable onDisabl...
来源: Laya3.0_api 发布时间: 20231115