大约有 2,497 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0078 秒)
Laya_社区(1888) Laya3.0_api(163) laya_api(112) Laya2.0_api(107) Laya2.0_文档(76) Laya_示例(68) Laya2.0_示例(51) Laya3.0_文档(32)
...eReference _setCPUMemory _setCreateURL _setGPUMemory clone cloneTo destroy event hasListener isCreateFromURL off offAll offAllCaller on once _parse destroyUnusedResources load Constructors constructor new Avatar(): Avatar Overrides Resource.__constructor Defined in laya/d3/core/Avatar.ts:45 创建...
来源: Laya3.0_api 发布时间: 20231102
...ar Sprite = Laya.Sprite; var Stage = Laya.Stage; var Text = Laya.Text; var Event = Laya.Event; var Image = Laya.Image; var WebGL = Laya.WebGL; //所有适配模式 var modes = ["noscale", "exactfit", "showall", "noborder", "full", "fixedwidth", "fixedheight"]; //当前适配模式索引 var index = ...
来源: Laya_示例 发布时间: 20241118
报错:LayaAir not allow import flash.events.EventDispatcher? 2016-12-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 cuixueying 赞同来自: 可以用!除了SDK下的顶级报和数据类型外,其他...
来源: Laya_社区 发布时间: 20161222
...ce _setCPUMemory _setCreateURL _setGPUMemory addDep addDeps create destroy event hasListener isCreateFromURL off offAll offAllCaller on once registerExtra unregisterExtra destroyUnusedResources Constructors constructor new glTFResource(): glTFResource Overrides Prefab.constructor Defined in laya/glt...
来源: Laya3.0_api 发布时间: 20231102
...ference _removeReference _setCPUMemory _setCreateURL _setGPUMemory destroy event getVideo hasListener isCreateFromURL off offAll offAllCaller on once setSource create destroyUnusedResources Constructors constructor new HtmlVideo(): HtmlVideo Overrides Bitmap.__constructor Defined in laya/device/medi...
来源: Laya3.0_api 发布时间: 20231102
...定位在左上角,导致点击事件偏移问题首先,请找到代码initevent initEvent(e, nativeEvent = null) { var _this = this; _this._event._stoped = false; _this._event.nativeEvent = nativeEvent || e; _this._target = null; var docElem = document.documentElement var win = document.defaultView...
来源: Laya_社区 发布时间: 20191227
... _parse _removeReference _setCPUMemory _setCreateURL _setGPUMemory destroy event getAniNameByIndex getSkinIndexByName getTexture hasListener isCreateFromURL off offAll offAllCaller on once destroyUnusedResources Constructors constructor new SpineTemplet(): SpineTemplet Overrides Resource.__construct...
来源: Laya3.0_api 发布时间: 20231115
...//... this.setContentHitArea(); }另外需要在image和clip控件的 this.event(/*laya.events.Event.LOADED*/"loaded"); 之后加上 this.event(/*laya.events.Event.RESIZE*/"resize"); 这是为了修复在异步加载图片的时候,加载完图片,panel控件并没有重置点击区域的问题...
来源: Laya_社区 发布时间: 20170610
...指旋转(多点触控)”有这样的代码: private onMouseDown(e: Event): void { var touches: Array<any> = e.touches; if (touches && touches.length == 2) { this.preRadian = Math.atan2( to...
来源: Laya_社区 发布时间: 20180301
...t module laya { import Stage = Laya.Stage; import Text = Laya.Text; import Event = Laya.Event; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class HelloLayabox { private txt: Text; private prevX: number = 0; private prevY: number = 0; constructor(){ // 不支持WebGL时自动切...
来源: Laya2.0_文档 发布时间: 20210715