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

大约有 342 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0041 秒)

91. 骨骼动画-Spine事件 [ 78%]

...ror"); } parseComplete() { const Event = Laya.Event; // 创建模式为1,使用动画自己的缓冲区,可以启用换装(相当耗费内存) mArmature = mFactory.buildArmature(1); Laya.stage.addChild(mArmature); mArmature.pos(mStartX, mStartY); mArmature.scale(0.5, 0.5); mArmature.on(Event.LAB...

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

92. 文本-HTML文本 [ 78%]

...up() { this.createParagraph(); // 代码创建 this.showExternalHTML(); // 使用外部定义的html } createParagraph() { const HTMLDivElement = Laya.HTMLDivElement; let p = new HTMLDivElement(); Laya.stage.addChild(p); p.style.font = "Impact"; p.style.fontSize = 30; let html = "使用"; html += "H...

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

93. laya.d3.core.material.BaseMaterial [ 78%]

...tic] 加载材质。 BaseMaterial  setShaderName(name:String):void 设置使用Shader名字。 BaseMaterialProtected Methods  MethodDefined By  _disposeResource():void[override] BaseMaterialPublic Constants ConstantDefined By  RENDERQUEUE_ALPHATEST : int = 2450[static] 渲染队列_阿尔法...

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

94. native 问题实在太多了 使用自定义的动态字经常出现崩溃 [ 78%]

native 问题实在太多了 使用自定义的动态字经常出现崩溃 native在安卓平台实在太多问题了,经常出现莫名其妙的崩溃我使用了一个默认的字体经常会报相关的崩溃信息麻烦技术人员帮我看一下,心态真的搞崩了 #00 pc 00000000002f8f2...

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

95. [LayaAir3]谷歌崩溃 找不到是什么原因 [ 77%]

...关问题 Layabox 2.0 bate5 运行编译之后 bundle.js 文件里面没有使用命名空间类文件的定义!导致运行时 找不到类的定义!这是为什么? 已上传 Demo 附件 liblayaair.so 总是崩溃,有没有官方人员帮忙解决一下啊 TextInput重写onFocus和onBlur...

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

96. 滤镜-颜色滤镜 [ 77%]

...镜对象,灰图 let grayscaleFilter = new ColorFilter(grayscaleMat); // 使用 gray 方法实现灰色滤镜 // let grayscaleFilter = new ColorFilter(); // grayscaleFilter.gray(); // 灰度猩猩 let grayApe = this.createApe(); grayApe.filters = [grayscaleFilter]; let secondChild = Laya.stage.get...

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

97. 骨骼动画-换装 [ 77%]

...ror"); } parseComplete() { const Event = Laya.Event; // 创建模式为1,使用动画自己的缓冲区,可以启用换装(相当耗费内存) mArmature = mFactory.buildArmature(1); Laya.stage.addChild(mArmature); mArmature.pos(mStartX, mStartY); // mArmature.scale(0.5, 0.5); mArmature.on(Event....

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

98. 输入设备-地图 [ 77%]

...is.updatePosition); let errorHandler = new Handler(this, this.onError); // 使用高精度位置 Geolocation.enableHighAccuracy = true; Geolocation.watchPosition(successHandler, errorHandler); // 绑定作用域 this.convertToBaiduCoord = this.convertToBaiduCoord.bind(this); } createDom() { const Br...

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

99. laya.device.geolocation.Geolocation [ 77%]

...vice.geolocationClasspublic class GeolocationInheritanceGeolocation Object 使用前可用supported查看浏览器支持。 Public Properties PropertyDefined By  enableHighAccuracy : Boolean = false[static] 如果enableHighAccuracy为true,并且设备能够提供一个更精确的位置,则...

来源: laya_api 发布时间: 20170929

100. laya.device.geolocation.Geolocation [ 77%]

...vice.geolocationClasspublic class GeolocationInheritanceGeolocation Object 使用前可用supported查看浏览器支持。 Public Properties PropertyDefined By  enableHighAccuracy : Boolean = false[static] 如果enableHighAccuracy为true,并且设备能够提供一个更精确的位置,则...

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