大约有 3,008 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0063 秒)
Laya_社区(1073) Laya3.0_api(672) Laya2.0_api(368) laya_api(298) Laya2.0_文档(233) Laya_示例(146) Laya2.0_示例(118) Laya3.0_文档(100)
...API: https://layaair.ldc.layabox.com/api2/Chinese/index.html?category=Core&class=laya.display.Scene 或者访问社区http://ask.layabox.com 
来源: Laya2.0_文档 发布时间: 20210715
...API: https://layaair.ldc.layabox.com/api2/Chinese/index.html?category=Core&class=laya.display.Scene 或者访问社区http://ask.layabox.com 
来源: Laya2.0_文档 发布时间: 20210715
...ript、TypeScript三种开发语言、LayaAirIDE让项目开发更高效。class Physics_Physics_Tumbler { constructor() { this.count = 0; this.totalBox = 200; Laya.Config.isAntialias = true; Laya.Laya.init(Laya.Browser.clientWidth, Laya.Browser.clientHeight, Laya.WebGL); Laya.Stat.show(); Laya.Phys...
来源: Laya2.0_示例 发布时间: 20250224
...意互动小程序继承Laya.Scene 的类无法实例化 new TypeError: Class constructor Vi cannot be invoked without 'new' 附件 : --> taobaominiapp.zip 2022-10-29 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回...
来源: Laya_社区 发布时间: 20221029
...outPos.x / Laya.stage.clientScaleX, _outPos.y / Laya.stage.clientScaleY); }class D3SpaceToD2Space { private scene: Laya.Scene; private camera: Laya.Camera; private layaMonkey3D: Laya.Sprite3D; private layaMonkey2D: Laya.Image; private _position: Laya.Vector3; private _outPos: Laya.Vector3; private s...
来源: Laya_示例 发布时间: 20250224
...l + Alt + Shift + S打开工程设置面板,先去Modules设置一下mainClass为你的入口as类,然后设置Libraries,如下图: 然后定位到下载好的LayaAirAS引擎源码路径添加: 注意这里选择Raw ActionScript library,否则无效的。 最后去Problems哪里,随...
来源: Laya_社区 发布时间: 20170418
关于切换图片的问题 class Main{ private plane1:string = "res/plane.png"; private plane2:string = "res/untitled.png"; private img: Laya.Sprite; private flag: boolean = false; constructor() { Laya.init(1000,800); this.img = new Laya.Sprite; this.img.loadImage(this.plane1); Laya.stage.addChild...
来源: Laya_社区 发布时间: 20180406
... 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
...a.display.Stage; import laya.events.Event; import laya.webgl.WebGL; public class MouseCount { public function MouseCount() { Laya.init(720, 1280, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "...
来源: Laya_社区 发布时间: 20170105
...的Import 20+次? 而且被导入文档 首行必须有 export default class******* 这升级后 怎么写起来更麻烦了?还是说我没找到简便方式?? 求解 图1: 图2 问题二: 例如1.9我可以这样使用带命名空间的文档,,但是由于2.0需要Import什么...
来源: Laya_社区 发布时间: 20181112