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

大约有 1,460 项符合查询结果, 库内数据总量为 30,900 项。 (搜索耗时: 0.0064 秒)

851. 分享一个自己做的游戏公告功能,跑马灯效果 [ 59%]

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

852. laya.d3.shader.Shader3D [ 59%]

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

853. 旋转API问题 [ 59%]

...了个边缘光的自定义shader,有很多问题,帮忙看一下 IDE创建的UI 层级问题 横屏模式在锁定竖屏的iphone上不能正常显示的问题 问题状态 最新活动: 2018-01-03 19:08 浏览: 778 关注: 2 人 q1402907210 • 2018-01-03 18:00 不过为啥面板上显示的...

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

854. 微信小游戏Worker使用 · LayaAir3.3 · 引擎文档 · LAYABOX [ 59%]

...游戏中需要指定配置好worker路径后通过wx.createWorker方法来创建Worker,在适配库中使用class MiniWorkerLoader接口来自定义实现微信小游戏的Worker内容,从而尽可能将Worker的使用接入引擎的统一处理流程,在项目层减少各平台Worker的适...

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

855. 2D拖尾渲染器 · LayaAir3.3 · 引擎文档 · LAYABOX [ 59%]

2D拖尾渲染器(Trail2DRender)一、通过LayaAir IDE创建Trail2DRender组件1.1创建Trail2DRender1.2 Trail2DRender中的属性1.3属性讲解二、在代码中使用Trail2DRender2D拖尾渲染器(Trail2DRender) 2D拖尾渲染器可以在移动的游戏对象后创建一条多边形轨迹。通...

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

856. 加载.lh文件 运行后黑屏 无法显示 [ 59%]

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

857. 2D线渲染器 · LayaAir3.3 · 引擎文档 · LAYABOX [ 59%]

2D像素线一、概述二、IDE中创建与使用2.1添加2D线渲染器组件2.2属性设置2.3线段的渲染纹理2.4对比2D线渲染器和Graphics绘制线段三、在代码中使用2D线渲染器组件2D像素线 一、概述 尽管LayaAir引擎提供了绘制图形(Graphics)API用于绘...

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

858. laya.d3.core.light.DirectionLightCom_API3.0 [ 59%]

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

859. laya.ui.AsynDialog [ 59%]

...ject 异步Dialog的生命周期:show或者popup > onCreate(如果没有创建过) > onOpen > onClose > onDestroy(如果销毁) onCreate在页面未创建时执行一次,再次打开页面不会再执行,适合写一些只执行一次的逻辑,比如资源加载,节点事件监...

来源: laya_api 发布时间: 20170929

860. laya.physics.joint.JointBase_API3.0 [ 59%]

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