大约有 333 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0077 秒)
Laya_社区(215) Laya3.0_api(37) laya_api(24) Laya2.0_api(20) Laya3.0_文档(17) Laya2.0_文档(16) Laya2.0_示例(2) Laya_示例(2)
...;& (x+width)> bitmap.width) 里的bitmap为null,往上看可能是source为null 但是仍然无法判断到是我的场景UI的问题还是代码的问题 2020-02-01 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 ...
来源: Laya_社区 发布时间: 20200201
...启自定义渲染,才能使用customRender函数渲染。 Sprite dataSource : *[override] 数据赋值,通过对UI赋值来控制UI显示逻辑。 简单赋值会更改组件的默认属性,使用大括号可以指定组件的任意属性进行赋值。 Clip destroyed : Boolean = false[...
来源: Laya2.0_api 发布时间: 20190513
...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
...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
...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
...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
...看到打出来的日志两个图片的路径分别是 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
... s.completeCreate()},n.disposeResource=function(){this._source&&(V.mainContext.deleteTexture(this._so TypeError: Cannot read property 'createTexture' of null ...
来源: Laya_社区 发布时间: 20180129
...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
...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