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

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

1141. laya.d3.core.light.AreaLightCom_API3.0 [ 51%]

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

1142. laya.d3.core.pixelLine.PixelLineSprite3D [ 51%]

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

1143. 仿照laya官方demo做了一个视频播放的UI,为啥在微信里不能用? [ 51%]

...?代码如下:   /**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

1144. [LayaAirIDE 2.0]Particle2D无法直接拖拽到场景中使用,望解决 [ 51%]

...t","runtime":"laya.particle.Particle2D"}运行报错 Uncaught Can not find class laya.particle.Particle2D 我将laya.particle.Particle2D 改成 Particle2D就运行正常,但是ui编辑页面无法正常打开了。   简单说就是particle2D编辑好不能直接拖到别的场景使用  附件 ...

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

1145. Sprite-屏幕截图 [ 51%]

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

1146. laya.resource.HTMLCanvas_API3.0 [ 50%]

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

1147. laya.d3.math.OrientedBoundBox [ 50%]

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

1148. laya.resource.Texture [ 50%]

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

1149. 使用layaide进行打包,提示如下错误。 [ 50%]

...,提示如下错误。 Block-scoped declarations (let, const, function, class) not yet supported outside strict mode   网上搜索答案,有的说是因为在tsconfig中,将target调整成了es6就不可以运行了,但是我的代码使用了一些es6的特性,请问应该如何解决...

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

1150. Panel使用文档(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 50%]

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