大约有 589 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0048 秒)
Laya_社区(199) Laya2.0_示例(114) Laya3.0_文档(94) Laya2.0_api(91) laya_api(48) Laya_示例(24) Laya2.0_文档(16) Laya3.0_api(3)
... public static shader: coolDownShader = new coolDownShader(); constructor() { var vs: string = " \ attribute vec2 position; \ attribute vec2 texcoord; \ attribute vec4 color; \ uniform vec2 size; \ ...
来源: Laya_社区 发布时间: 20170606
...| 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
...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
...件,设置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
...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
...tionAll Packages | All Classes | Index | Frames No Frames KeyLocationConstants Packagelaya.eventsClasspublic class KeyLocationInheritanceKeyLocation Object KeyLocation 类包含表示在键盘或类似键盘的输入设备上按键位置的常量。 KeyLocation 常数用在键盘事件对象...
来源: laya_api 发布时间: 20170929
...tionAll Packages | All Classes | Index | Frames No Frames KeyLocationConstants Packagelaya.eventsClasspublic class KeyLocationInheritanceKeyLocation Object KeyLocation 类包含表示在键盘或类似键盘的输入设备上按键位置的常量。 KeyLocation 常数用在键盘事件对象...
来源: Laya2.0_api 发布时间: 20190513
...对于当前文件 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
...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
...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