大约有 598 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0050 秒)
Laya3.0_api(234) Laya_社区(164) Laya2.0_api(108) laya_api(58) Laya2.0_文档(19) Laya3.0_文档(12) Laya_示例(2) Laya2.0_示例(1)
...题 export class ResUIModuleManager { /** * 模块资源路径 */ private static moduleResPath: string = 'res/atlas/{0}.json'; /** * 模块的资源名称和模块的主面板(模块的主面板类全名,模块资源图集名称[]) * @type {Laya.Dictionary} * @memberof ResourcesModuleManager *...
来源: Laya_社区 发布时间: 20170905
....text = Stat.FPS.toString(); } } } class Character extends Sprite { public static WIDTH: number = 110; public static HEIGHT: number = 110; private speed: number = 5; private bloodBar: Sprite; private animation: Animation; private nameLabel: Text; constructor(images: Array) { super(); this.createAnim...
来源: Laya2.0_示例 发布时间: 20241001
...国 已经确定了是引擎bug 只要修改下就好希望官方处理下 static _convertToLayaVec3(bVector, out, inverseX) { var bullet = Physics3D._bullet; out.x = inverseX ? -bullet.btVector3_x(bVector) : bullet.btVector3_x(bVector); out.y = bullet.btVector3_y(bVector); out.z = bullet.btVector3_...
来源: Laya_社区 发布时间: 20200330
...时候,重新创建AudioContext,然后就能正常播放了。 static _visibilityChange() { if (ILaya.stage.isVisibility) { SoundManager._recreateWebAudio(() => { SoundManager._stageOnFocus(); }); } else { ...
来源: Laya_社区 发布时间: 20180425
...邀请: 与内容相关的链接 提交 3 个回复 northTg 赞同来自: static init(par: fgui.GComponent) { this.parent = par; this.aniPath = "res/sk/pipei.skel"; this.index = -1; this.startFun(); } static startFun() { if (!this.templet) this.templet = new Laya.SpineTemplet(Laya.SpineVersion.v3_8)...
来源: Laya_社区 发布时间: 20211207
...ource.uuid Defined in laya/resource/Resource.ts:109 获取资源的UUID。 Static DEBUG DEBUG: boolean = false Inherited from Resource.DEBUG Defined in laya/resource/Resource.ts:19 是否开启debug模式 Accessors context get context(): Context Defined in laya/resource/HTMLCanvas.ts:110 Canvas 渲...
来源: Laya3.0_api 发布时间: 20231115
...("new Entry"); Browser.__init__(); Laya.init(1280,720,WebGL); public static function __init__():* { console.log("Brower Init CCCCCC"); if (_window) return _window; console.log("Brower Init DDDDDDDD"); ...
来源: Laya_社区 发布时间: 20200810
...建议优先使用cacheAs代替。 Sprite CharacterCache : Boolean = true[static] WebGL渲染文字时是否启用字符缓存,对于字形多的语种,禁用缓存。 对于字形随字母组合变化的语种,如阿拉伯文,启用将使显示错误。但是即使禁用,自动换行也...
来源: laya_api 发布时间: 20170929
...ource.uuid Defined in laya/resource/Resource.ts:101 获取资源的UUID。 Static ALPHATESTVALUE ALPHATESTVALUE: number Inherited from Material.ALPHATESTVALUE Defined in laya/d3/core/material/Material.ts:50 着色器变量,透明测试值。 Static DEBUG DEBUG: boolean = false Inherited from Resourc...
来源: Laya3.0_api 发布时间: 20231102
...t Label = Laya.Label; export class ListDataSourceItem extends Box { public static WID: number = 200; public static HEI: number = 20; // private _img: Image = null; private _lb:Label = null; constructor() { super(); this._lb = new Label(); this._lb.size(ListDataSourceItem.WID, ListDataSourceItem.HEI)...
来源: Laya_社区 发布时间: 20180410