大约有 1,102 项符合查询结果, 库内数据总量为 30,906 项。 (搜索耗时: 0.0053 秒)
Laya_社区(444) Laya3.0_api(292) Laya_示例(112) Laya2.0_示例(80) Laya2.0_文档(61) Laya3.0_文档(51) Laya2.0_api(35) laya_api(27)
...Ani: Laya.Animation; private timeLine:Laya.TimeLine = new Laya.TimeLine(); constructor() { //初始化舞台 Laya.init(1334, 750, Laya.WebGL); //创建动画实例 this.roleAni = new Laya.Animation(); //加载动画图集,加载成功后执行回调方法 this.roleAni.loadAtlas("res/atlas/imgs/rol...
来源: Laya_社区 发布时间: 20171228
... = Laya.Browser; import WebGL = Laya.WebGL; export class Sprite_DrawPath { constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = "sh...
来源: Laya_示例 发布时间: 20250225
...lass; export module ui { export class MainSceneUI extends Laya.SceneBase { constructor(){ super()} createChildren():void { super.createChildren(); this.loadScene("MainScene"); } } REG("ui.MainSceneUI",MainSceneUI); } 期待生成SceneBase, 结果仍然生成Laya.SceneBase 其他关联链接:...
来源: Laya_社区 发布时间: 20190418
...aya.WebGL; export class UI_ProgressBar { private progressBar: ProgressBar; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(800, 600, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgCo...
来源: Laya2.0_文档 发布时间: 20210715
...质。 Hierarchy Material ShurikenParticleMaterial Implements IClone Index Constructors constructor Properties _id destroyedImmediately lock name renderQueue url uuid ALPHATESTVALUE DEBUG RENDERMODE_ADDTIVE RENDERMODE_ALPHABLENDED RENDERQUEUE_ALPHATEST RENDERQUEUE_OPAQUE RENDERQUEUE_TRANSPARENT SHAD...
来源: Laya3.0_api 发布时间: 20231115
... @property(Laya.Image) public image: Laya.Image = null; constructor() { super(); } } 附件 : --> 2023-04-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 4 个回复 layabox 赞同来自...
来源: Laya_社区 发布时间: 20230412
...但是CurMern么有发出变化,是否正常? 2 构造时创建 constructor() { this.aniBody = new Animation(); this.aniBody.interval = this.frameNum; Map.getInstance().heroSprVI.sprCon.addChild(this.aniBody); this.aniWeapon = new Animation()...
来源: Laya_社区 发布时间: 20170615
...行间距 聊天消息对话框中new一个HTMLDivElement 报错"Illegal constructor",请问这个该怎么处理? HTMLDivElement 对齐问题! 问题状态 最新活动: 2019-06-11 16:32 浏览: 3998 关注: 4 人 诶诶诶诶诶诶 • 2019-07-01 17:09 这种做法并不能便于引擎升级...
来源: Laya_社区 发布时间: 20190409
...ask_Demo 源码 https://github.com/wildfirecod ... le.ts class GameMain{ constructor() { Laya.init(1920,950,Laya.WebGL); Laya.Stat.show(); const container = new Laya.Sprite(); Laya.stage.addChild(container); const mask = new Laya.Sprite(); mask.graphics.drawPoly(0, 0, [0, 0, 484, 0, 1483, 950, 0, ...
来源: Laya_社区 发布时间: 20170915
...数 private _mCompleteHandler:Handler = null; private _mTest:number = 0; constructor(){ } /** * 创建地图,并显示当前场景 * @param conf 地图的配置信息 */ public create(conf:LevelConf, handler:Handler):void{ this._mLevelConf = conf; this._mCompleteHandler = handler; this._mViewPortX...
来源: Laya_社区 发布时间: 20180529