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

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

51. 构建好android studio项目后,debug出错 [ 88%]

...ayaBox: alert=undefined:5155: SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode let runtime = json.props.runtime; ^^^ SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode at eval (native) a...

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

52. 鼠标交互-滑动 [ 88%]

...osition, beginPosition, endPosition; let button; class Interaction_Swipe { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, We...

来源: Laya2.0_示例 发布时间: 20250312

53. 动画-SWF动画 [ 88%]

...开发语言、LayaAirIDE让项目开发更高效。class Animation_SWF { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.width, Browser.height, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stag...

来源: Laya2.0_示例 发布时间: 20250312

54. laya.d3.core.trail.VertexTrail [ 88%]

...Classes | Index | Frames No Frames VertexTrailProperties | Methods | Constants Packagelaya.d3.core.trailClasspublic class VertexTrailInheritanceVertexTrail ObjectImplements IVertex VertexTrail 类用于创建拖尾顶点结构。 Public Properties PropertyDefined By  vertexDeclaration : Ve...

来源: Laya2.0_api 发布时间: 20190513

55. 1.0 打包apk闪退 有日志 应该是跟引擎网络模块相关 [ 87%]

...4uXAUEgl_GARw==/lib/arm64/liblayaair.so (laya::isValidHTTPHeaderValue(char const*)+48) [arm64-v8a] 2 #01 pc 00000000004aaff0 /data/app/com.mylafe.game.handsomecat-Bnthya3kQ4uXAUEgl_GARw==/lib/arm64/liblayaair.so (laya::XMLHttpRequest::setRequestHeader(char const*, char const*)+116) [arm64-v8a] 3 #...

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

56. laya.d3.core.material.PBRMaterial [ 87%]

...Classes | Index | Frames No Frames PBRMaterialProperties | Methods | Constants Packagelaya.d3.core.materialClasspublic class PBRMaterialInheritancePBRMaterial BaseMaterial laya.resource.ResourcePublic Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefine...

来源: laya_api 发布时间: 20170929

57. 分享一个Shader版的CoolDown实现 [ 87%]

... public static shader: coolDownShader = new coolDownShader();         constructor() {             var vs: string = " \             attribute vec2 position; \             attribute vec2 texcoord; \             attribute vec4 color; \             uniform vec2 size; \ ...

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

58. laya.d3.core.material.WaterPrimaryMaterial [ 87%]

...| Index | Frames No Frames WaterPrimaryMaterialProperties | Methods | Constants Packagelaya.d3.core.materialClasspublic class WaterPrimaryMaterialInheritanceWaterPrimaryMaterial BaseMaterial laya.resource.Resource ... Public Properties Hide Inherited Public Properties Show Inherited Public Pro...

来源: Laya2.0_api 发布时间: 20190513

59. laya.d3.core.scene.Scene3D [ 87%]

...s | Index | Frames No Frames Scene3DProperties | Methods | Events | Constants Packagelaya.d3.core.sceneClasspublic class Scene3DInheritanceScene3D Sprite Node EventDispatcher ObjectImplements ISubmit, laya.resource.ICreateResource Scene3D 类用于实现场景。 Public Properties Hide Inher...

来源: Laya2.0_api 发布时间: 20190513

60. 深入理解LayaAir引擎架构和实现原理(二)项目调试原理及完美开发调试方案 [ 87%]

...件,设置false后,则使用自己环境(使用命令行方式执行) const useIDENode = process.argv[0].indexOf("LayaAir") > -1 ? true : false; const useCMDNode = process.argv[1].indexOf("layaair2-cmd") > -1 ? true : false; function useOtherNode(){ return useIDENode||useCMDNode; } //获...

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