大约有 1,561 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0073 秒)
Laya_社区(554) Laya3.0_api(360) Laya2.0_api(247) laya_api(208) Laya2.0_文档(120) Laya3.0_文档(70) Laya2.0_示例(2)
... Only exported Menu Globals "laya/d3/core/light/AreaLightCom" AreaLightCom Class AreaLightCom LightSprite 类用于创建灯光的父类。 Hierarchy Light AreaLightCom Index Constructors constructor Properties _extra _singleton color owner runInEditor scriptPath Accessors awaked destroyed enabled h...
来源: Laya3.0_api 发布时间: 20231115
API DocumentationAll Packages | All Classes | Index | Frames No Frames PixelLineSprite3DProperties | Methods | Events Packagelaya.d3.core.pixelLineClasspublic class PixelLineSprite3DInheritancePixelLineSprite3D RenderableSprite3D Sprite3D Node EventDispatcher Object PixelLineSprite3D 类...
来源: Laya2.0_api 发布时间: 20190513
...?代码如下: /**Created by the LayaAirIDE*/ module view { export class Guide extends ui.GuideUI { constructor() { super(); // 创建Video元素 let videoElmt: any = Laya.Browser.createElement("video"); Laya.Browser.document.body.appendChild(videoElmt); // 设置Video元素地样式和属性...
来源: Laya_社区 发布时间: 20180802
...t","runtime":"laya.particle.Particle2D"}运行报错 Uncaught Can not find class laya.particle.Particle2D 我将laya.particle.Particle2D 改成 Particle2D就运行正常,但是ui编辑页面无法正常打开了。 简单说就是particle2D编辑好不能直接拖到别的场景使用 附件 ...
来源: Laya_社区 发布时间: 20191127
...ript、TypeScript三种开发语言、LayaAirIDE让项目开发更高效。class Sprite_ScreenShot { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage; this.btnArr = ["res/threeDimen/ui/button.png", "res/threeDimen/ui/button.png", "res/threeDimen/ui/button.png"]; t...
来源: Laya2.0_示例 发布时间: 20260303
...Externals Only exported Menu Globals "laya/resource/HTMLCanvas" HTMLCanvas Class HTMLCanvas HTMLCanvas 是 Html Canvas 的代理类,封装了 Canvas 的属性和方法。 Hierarchy Resource HTMLCanvas Index Constructors constructor Properties _id destroyedImmediately lock name url uuid DEBUG Acces...
来源: Laya3.0_api 发布时间: 20231115
API DocumentationAll Packages | All Classes | Index | Frames No Frames OrientedBoundBoxProperties | Methods Packagelaya.d3.mathClasspublic class OrientedBoundBoxInheritanceOrientedBoundBox Object OrientedBoundBox 类用于创建OBB包围盒。 Public Properties PropertyDefined By extent...
来源: Laya2.0_api 发布时间: 20190513
API DocumentationAll Packages | All Classes | Index | Frames No Frames TextureProperties | Methods | Events Packagelaya.resourceClasspublic class TextureInheritanceTexture EventDispatcher ObjectSubclasses RenderTarget2D Texture 是一个纹理处理类。 Public Properties PropertyDefined...
来源: laya_api 发布时间: 20170929
...,提示如下错误。 Block-scoped declarations (let, const, function, class) not yet supported outside strict mode 网上搜索答案,有的说是因为在tsconfig中,将target调整成了es6就不可以运行了,但是我的代码使用了一些es6的特性,请问应该如何解决...
来源: Laya_社区 发布时间: 20170604
...ort laya.ui.Image; import laya.ui.Panel; import laya.utils.Handler; public class PanelTest { public function PanelTest() { //初始化引擎 Laya.init(800,600); //预加载所需资源 Laya.loader.load("res/atlas/comp.atlas",Handler.create(this,onLoaded)); } private function onLoaded():void { //实...
来源: Laya2.0_文档 发布时间: 20210715