大约有 232 项符合查询结果, 库内数据总量为 30,902 项。 (搜索耗时: 0.0046 秒)
...9 11:32 浏览: 1818 关注: 2 人 @DT_ • 2019-08-29 11:42 laya.resource.Context的drawTriangles方法 陆仁毅 • 2019-08-29 11:44 @@DT_:是的
来源: Laya_社区 发布时间: 20190829
...(filepath, None, replacecontent, backuporiginalfile=False, pos=pos) def getcontextbyprobe(filepath,startprobe, endprobe,startoffset=0 , endoffset=0 , backuporiginalfile=True): """ :param filepath: 接收要修改文档的路径 :param startprobe: 获取文本内容的起始探针 :param endprobe: ...
来源: Laya_社区 发布时间: 20170418
...前容器是否包含指定的 Node 节点对象 。 Node customRender(context:Context, x:Number, y:Number):void 自定义更新、呈现显示对象。一般用来扩展渲染模式,请合理使用,可能会导致在加速器上无法渲染。 注意不要在此函数内增加或删除树节...
来源: Laya2.0_api 发布时间: 20190513
...因未知,偶现 TypeError: Cannot read property '_getSource' of null at Context.drawTriangles (laya.core-56a0e.js:1:260080) at DrawTrianglesCmd.run (laya.core-56a0e.js:1:288118 at Graphics._renderAll (laya.core-56a0e.js:1:300421) at RenderSprite.transform_drawLayaGL [as _fun] (laya.core-56a0e.js:...
来源: Laya_社区 发布时间: 20230714
...s = "bitmap"报错 版本:2.0.0 beta5.1 TypeError: Cannot read property 'context' of nullpreload.js:55 at WebGLContext2D.__proto.drawCanvas (/***/bin/libs/laya.webgl.js:12261:18) at RenderSprite3D.__proto._canvas (/***/bin/libs/laya.core.js:8717:12) at RenderSprite3D.RenderSpr...
来源: Laya_社区 发布时间: 20190108
...前容器是否包含指定的 Node 节点对象 。 Node customRender(context:RenderContext, x:Number, y:Number):void[override] Particle2D destroy(destroyChild:Boolean = true):void[override] Particle2D destroyChildren():void 销毁所有子对象,不销毁自己本身。 Node drawToCanvas...
来源: laya_api 发布时间: 20170929
... super(vs, ps, "coolDownShader"); } } import WebGLContext = laya.webgl.WebGLContext; import Value2D = laya.webgl.shader.d2.value.Value2D; import CONST3D2D = laya.webgl.utils.CONST3D2D; export class coolDownShaderValue extends Value2D { public tex...
来源: Laya_社区 发布时间: 20170606
...画出来的矩形和文本var canvas:HTMLCanvas = Browser.canvas; var ctx:Context = canvas.getContext(); ctx.fillStyle = "red"; ctx.fillRect(120, 10, 150, 150,"red"); ctx.fillText("texttt",100,100,"","#ffffff","center"); console.log("draw complete"); 2017-05-02 添加评论 免费帖 --> 分享 微...
来源: Laya_社区 发布时间: 20170502
... (ele=(childs [i]))._style.visible && ele.render(context,x,y); 2018-02-03 0 0 分享 微博 QZONE 微信 qian 赞同来自: 引擎示例 --2D--区块地图 --带动画的地图 百度地图是这样 但是你这个可能这样不行 你看一下示例 2018-02-03 0 1 分...
来源: Laya_社区 发布时间: 20180203
...当前容器是否包含指定的 Node 节点对象 。 Node customRender(context:RenderContext, x:Number, y:Number):void 自定义更新、呈现显示对象。一般用来扩展渲染模式,请合理使用,可能会导致在加速器上无法渲染。 注意不要在此函数内增加或删...
来源: laya_api 发布时间: 20170929