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

大约有 894 项符合查询结果, 库内数据总量为 30,723 项。 (搜索耗时: 0.0047 秒)

31. LayaAirIDE2.7版本导出类名不正确问题 [ 70%]

...只在window上挂载了大写Laya的命名空间 window.Laya= (function (exports) { ...... exports.Sprite = Sprite; exports.EffectAnimation = EffectAnimation; ..... return exports; })({}))那么出现这个问题的原因是官方在LayaAirIDE类导出部分的代码有变化,在2.6版本中有...

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

32. 使用protobuf的时候,require报错 [ 70%]

...2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? 问题状态 最新活动: 2020-03-26 01:08 浏览: 1362 关注: 3 人

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

33. UIConfig_API3.0 [ 70%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "UIConfig" UIConfig Class UIConfig 全局配置 Hierarchy UIConfig Index Properties closeDialogOnSide mouseWheelEnable popupBgAlpha popupBgColor showButtons touchScrollEnable Properties Static closeDialo...

来源: Laya3.0_api 发布时间: 20231115

34. LayaEnv_API3.0 [ 69%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "LayaEnv" LayaEnv Class LayaEnv Hierarchy LayaEnv Index Properties afterInit beforeInit isConch isPlaying isPreview version Properties Static afterInit afterInit: () => void Defined in LayaEnv.ts:8 Ty...

来源: Laya3.0_api 发布时间: 20231115

35. laya.d3.shader.pbr.PBRShaderLib_API3.0 [ 69%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/shader/pbr/PBRShaderLib" PBRShaderLib Class PBRShaderLib Hierarchy PBRShaderLib Index Properties DEFINE_ANISOTROPY DEFINE_CLEARCOAT DEFINE_CLEARCOAT_NORMAL DEFINE_EMISSION Methods init Propertie...

来源: Laya3.0_api 发布时间: 20231115

36. [0]Spine3.8.75报错:Error: Unsupported skeleton data, please export with a newer version of Spine. [ 69%]

[0]Spine3.8.75报错:Error: Unsupported skeleton data, please export with a newer version of Spine. 我使用spine3.8.75导出的文件无法使用。代码是使用的2.12.2beta1引擎示例的源码。   var Browser = Laya.Browser; var WebGL = Laya.WebGL; var Stage = Laya.Stage; var Event = La...

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

37. laya.html.HtmlParseOptions_API3.0 [ 69%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/html/HtmlParseOptions" HtmlParseOptions Class HtmlParseOptions Hierarchy HtmlParseOptions Index Constructors constructor Properties ignoreWhiteSpace linkColor linkUnderline defaultLinkColor default...

来源: Laya3.0_api 发布时间: 20231115

38. laya.ani.KeyFramesContent_API3.0 [ 69%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/ani/KeyFramesContent" KeyFramesContent Class KeyFramesContent 关键帧 Hierarchy KeyFramesContent Index Properties dData data duration interpolationData nextData startTime Properties dData dData: ...

来源: Laya3.0_api 发布时间: 20231115

39. 如何使用TS的命名空间(namespace)? [ 69%]

...ts文件,在文件内创建namespace,如下: namespace MyNamespace { export class MyClass { // TODO. } }在main.ts的构造函数中,总是报错,提示 MyNamespace is not defined, 但是,如果我不用新文件,把这段定义放在main.ts内,就不会报错,请问如何引用...

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

40. laya.spine.ExternalSkinItem_API3.0 [ 68%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/spine/ExternalSkinItem" ExternalSkinItem Class ExternalSkinItem Hierarchy ExternalSkinItem Index Accessors attachment skin slot Accessors attachment get attachment(): string set attachment(value: s...

来源: Laya3.0_api 发布时间: 20231115