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

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

271. 改变画布 样式的 宽高后 鼠标定位问题 [ 46%]

...X 650 Laya.init(1024, 650 , WebGL); 我改变 宽度后 Render._mainCanvas.source.style.width = "100%" 自适应外部的DIV 但我画笔的定位 this.stage.mouseX 取不到正确位。这怎么处理?   如图,白色画布是1024 x 650  外层div 是 500 x 500 按照鼠标点下去的 位置...

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

272. 关于微信小游戏的开放数据域,请问如何将开放数据域的canvas绘制到layaair的image上? [ 46%]

...r.getOpenDataCanvas().toDataURL("image/png"); // this.view.image_rank_list.source = img; // var canvas_2d_ctx = canvas.getContext('2d') // canvas_2d_ctx.drawImage(wxMgr.getOpenDataCanvas(), 0, 0); // Laya.Browser.context.drawImage(wxMgr.getOpenDataCanvas(), 0, 0); // console.log(laya.renders.RenderC...

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

273. laya.ui.AdvImage_API3.0 [ 45%]

...blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray group height hideFlags hitArea is3D left mask mouseEnabled mouseX mouseY nu...

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

274. laya.d3.core.material.GlitterMaterial [ 45%]

...public class GlitterMaterialInheritanceGlitterMaterial BaseMaterial laya.resource.Resource ... Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By  albedo : Vector4 获取反射率。 GlitterMaterial alphaTest : Boolean 获取是否透明裁剪...

来源: laya_api 发布时间: 20170929

275. 2.0版本Loader加载不同目录下的相同文件名的图片有问题 [ 44%]

...看到打出来的日志两个图片的路径分别是 http://usr/skin_resources/105/main1.png 和 http://usr/skin_resources/108/main1.png  2019-02-26 0 0 分享 微博 QZONE 微信 june 赞同来自: 你可以看看这个日志里面点击那个path的链接打开的图片是正确的,但是te...

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

276. LayaNative 是不是不支持3D啊 [ 44%]

...                             s.completeCreate()},n.disposeResource=function(){this._source&&(V.mainContext.deleteTexture(this._so                                             TypeError: Cannot read property 'createTexture' of null                  ...

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

277. laya.d3.core.material.ParticleMaterial [ 44%]

...blic class ParticleMaterialInheritanceParticleMaterial BaseMaterial laya.resource.Resource ... Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alphaTest : Boolean 获取是否透明裁剪。 BaseMaterial alphaTestValue : Number 获取透明...

来源: laya_api 发布时间: 20170603

278. laya.d3.core.particleShuriKen.ShurikenParticleMaterial [ 44%]

...kenParticleMaterialInheritanceShurikenParticleMaterial BaseMaterial laya.resource.Resource ... Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alphaTest : Boolean 获取是否透明裁剪。 BaseMaterial alphaTestValue : Number 获取透明...

来源: laya_api 发布时间: 20170929

279. 淘宝创意互动分包指南(TypeScript-小游戏适配文档-淘宝创意互动) [ 43%]

...](https://open.taobao.com/docV3.htm?spm=a219a.7386797.0.0.7f6c669aQkYiVg&source=search&docId=119146&docType=1#ss2) ## 二、分包的使用方法 ### 1 IDE中的准备 #### 1.1 页面分包 在进行页面分包的时候,我们需要注意,我们需要提前在工程的bin文件夹下自己新...

来源: Laya2.0_文档 发布时间: 20210715

280. 使用Laya.loader.load加载Laya.Loader.FONT位图字体文件时就会出现无限循环加载,一直到浏览器奔溃 [ 43%]

...,应该是源码有问题,源码如下: 结合问题,应该 data._source 没有赋值,所以一直抛出进度0.5,一直卡在加载png 解决方法,利用 BitmapFont.loadFont 加载 或者用 Laya.loader 加载 fnt(XML加载类型) 和 png,不过这个有点繁琐,加载完...

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