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

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

281. 跳转场景后laya.core.js就报Cannot read property 'width' of null的错误 [ 46%]

...;& (x+width)> bitmap.width) 里的bitmap为null,往上看可能是source为null 但是仍然无法判断到是我的场景UI的问题还是代码的问题 2020-02-01 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 ...

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

282. laya.ui.Clip [ 46%]

...启自定义渲染,才能使用customRender函数渲染。 Sprite  dataSource : *[override] 数据赋值,通过对UI赋值来控制UI显示逻辑。 简单赋值会更改组件的默认属性,使用大括号可以指定组件的任意属性进行赋值。 Clip destroyed : Boolean = false[...

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

283. 改变画布 样式的 宽高后 鼠标定位问题 [ 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

284. 关于微信小游戏的开放数据域,请问如何将开放数据域的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

285. 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

286. 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

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

...看到打出来的日志两个图片的路径分别是 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

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

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

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

289. 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

290. 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