大约有 3,041 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0085 秒)
Laya_社区(1094) Laya3.0_api(672) Laya2.0_api(368) laya_api(298) Laya2.0_文档(233) Laya_示例(146) Laya2.0_示例(118) Laya3.0_文档(112)
...置一个脚本,用于初始化和配置性能分析工具。 const { regClass, property } = Laya; @regClass() export class NewScript extends Laya.Script { @property(Number) public projectId: number = 23; private perfMain: LayaPerf = new LayaPerf(); onEnable(): void { this.perfMain.init(this.proje...
来源: Laya3.0_文档 发布时间: 20251010
API DocumentationAll Packages | All Classes | Index | Frames No Frames Particle2DProperties | Methods | Events Packagelaya.particleClasspublic class Particle2DInheritanceParticle2D Sprite Node EventDispatcher Object Particle2D 类是2D粒子播放类 Public Properties Hide Inherited Public...
来源: laya_api 发布时间: 20170929
API DocumentationAll Packages | All Classes | Index | Frames No Frames BaseMaterialProperties | Methods | Constants Packagelaya.d3.core.materialClasspublic class BaseMaterialInheritanceBaseMaterial laya.resource.ResourceImplements laya.d3.core.ICloneSubclasses ExtendTerrainMaterial, Glitte...
来源: laya_api 发布时间: 20170929
API DocumentationAll Packages | All Classes | Index | Frames No Frames GridSpriteProperties | Methods | Events Packagelaya.mapClasspublic class GridSpriteInheritanceGridSprite Sprite Node EventDispatcher Object 地图的每层都会分块渲染处理 本类就是地图的块数据 Public P...
来源: laya_api 发布时间: 20170929
...vent.MOUSE_DOWN, this, onApeRelease); 通过 Event 类型 监听动作 class Event { /** 一个空的 Event 对象。用于事件派发中转使用。*/ static EMPTY: Event; /** 定义 mousedown 事件对象的 type 属性值。*/ stati...
来源: Laya_社区 发布时间: 20170601
...lization": true, /* Enable strict checking of property initialization in classes. */ // "noImplicitThis": true, /* Raise error on 'this' expressions with an implied 'any' type. */ // "alwaysStrict": true, /* Parse in strict mode and emit...
来源: Laya_社区 发布时间: 20190408
... Menu Globals "laya/d3/core/pixelLine/PixelLineSprite3D" PixelLineSprite3D Class PixelLineSprite3D PixelLineSprite3D 类用于像素线渲染精灵。 Hierarchy RenderableSprite3D PixelLineSprite3D Index Constructors constructor Properties _extra _scene _url name tag LIGHTMAP LIGHTMAPSCALEOFFSET LIG...
来源: Laya3.0_api 发布时间: 20231115
...n HttpRequestExtension() { HttpRequestExtension.__super.call(this); } Laya.class(HttpRequestExtension, 'HttpRequestExtension', _super); var __proto = HttpRequestExtension.prototype; __proto.send = function (url, data, method, responseType, headers) { (method === void 0) && (method = "get"); (respons...
来源: Laya2.0_文档 发布时间: 20210714
API DocumentationAll Packages | All Classes | Index | Frames No Frames BoxProperties | Methods | Events Packagelaya.uiClasspublic class BoxInheritanceBox Component Sprite Node EventDispatcher ObjectImplements IBoxSubclasses LayoutBox, List, Panel, Tree, UIGroup, View, ViewStack Box 类是...
来源: laya_api 发布时间: 20170929
...的各项属性。示例代码如下所示: 示例代码: const { regClass, property } = Laya; @regClass() /** * 在节点上添加2D拖尾渲染器的示例代码 */ export class NewScript extends Laya.Script { declare owner: Laya.Sprite; private _trail2D: Laya.Trail2DRender; //从场景文件...
来源: Laya3.0_文档 发布时间: 20251010