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

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

61. 分享一个Shader版的CoolDown实现 [ 87%]

... public static shader: coolDownShader = new coolDownShader();         constructor() {             var vs: string = " \             attribute vec2 position; \             attribute vec2 texcoord; \             attribute vec4 color; \             uniform vec2 size; \ ...

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

62. laya.d3.core.material.WaterPrimaryMaterial [ 87%]

...| Index | Frames No Frames WaterPrimaryMaterialProperties | Methods | Constants Packagelaya.d3.core.materialClasspublic class WaterPrimaryMaterialInheritanceWaterPrimaryMaterial BaseMaterial laya.resource.Resource ... Public Properties Hide Inherited Public Properties Show Inherited Public Pro...

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

63. laya.d3.core.scene.Scene3D [ 87%]

...s | Index | Frames No Frames Scene3DProperties | Methods | Events | Constants Packagelaya.d3.core.sceneClasspublic class Scene3DInheritanceScene3D Sprite Node EventDispatcher ObjectImplements ISubmit, laya.resource.ICreateResource Scene3D 类用于实现场景。 Public Properties Hide Inher...

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

64. 深入理解LayaAir引擎架构和实现原理(二)项目调试原理及完美开发调试方案 [ 87%]

...件,设置false后,则使用自己环境(使用命令行方式执行) const useIDENode = process.argv[0].indexOf("LayaAir") > -1 ? true : false; const useCMDNode = process.argv[1].indexOf("layaair2-cmd") > -1 ? true : false; function useOtherNode(){ return useIDENode||useCMDNode; } //获...

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

65. laya.net.Loader [ 86%]

...es | Index | Frames No Frames LoaderProperties | Methods | Events | Constants Packagelaya.netClasspublic class LoaderInheritanceLoader EventDispatcher Object Loader 类可用来加载文本、JSON、XML、二进制、图像等资源。 Public Properties PropertyDefined By  cache : Boolean...

来源: laya_api 发布时间: 20170929

66. laya.events.KeyLocation [ 86%]

...tionAll Packages | All Classes | Index | Frames No Frames KeyLocationConstants Packagelaya.eventsClasspublic class KeyLocationInheritanceKeyLocation Object KeyLocation 类包含表示在键盘或类似键盘的输入设备上按键位置的常量。 KeyLocation 常数用在键盘事件对象...

来源: laya_api 发布时间: 20170929

67. laya.events.KeyLocation [ 86%]

...tionAll Packages | All Classes | Index | Frames No Frames KeyLocationConstants Packagelaya.eventsClasspublic class KeyLocationInheritanceKeyLocation Object KeyLocation 类包含表示在键盘或类似键盘的输入设备上按键位置的常量。 KeyLocation 常数用在键盘事件对象...

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

68. ProtocolBuffer通信 · LayaAir3.3 · 引擎文档 · LAYABOX [ 85%]

...对于当前文件 import * as protobuf from "./libs/protobuf/protobuf"; const { regClass } = Laya; @regClass() export class ProtobufDemo extends Laya.Script { onEnable() { console.log("Game start"); } } 2.2 Protobuf示例脚本 引入了protobuf模块就可以直接在项目中使用了,这里我...

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

69. 2D物理-仿生机器人 [ 85%]

...LayaAirIDE让项目开发更高效。class Physics_Physics_Strandbeests { constructor() { this.scale = 2.5; this.pos = [500, 400]; this.m_offset = [0, -80 * this.scale]; this.pivot = [0, 8 * this.scale]; Laya.Config.isAntialias = true; Laya.Laya.init(1200, 700, Laya.WebGL); Laya.Stat.show(); Laya.Ph...

来源: Laya2.0_示例 发布时间: 20260106

70. UI-CheckBox [ 85%]

...L_SPACING = 100, X_OFFSET = 100, Y_OFFSET = 50, skins; class UI_CheckBox { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler; // 不支持WebGL时自动切换至Canvas Laya.init(800, 600, WebGL); Laya.stage.alignV = Stage.A...

来源: Laya2.0_示例 发布时间: 20260106