大约有 175 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0068 秒)
...鸟,自己动手处理了。 1.tiledmap中的MapLayer复写了Sprite的render方法,使用了自己的_showGridList顺序,这样在调整zorder时是调整不到的__proto.render=function(context,x,y){ var childs=this._childs; this._childs=this._showGridList; _super.prototype.render.call(this,...
来源: Laya_社区 发布时间: 20180412
...效果 l00l • 2017-01-19 16:20 官方给出这样的回答:The debug renderer doesn't currently support zIndex I'm afraid. I'd accept a pull request though. You'd need to add body.render.zIndex, and inside Matter.Render create a buffer and add all constraints and bodies, then sort by it. It shou...
来源: Laya_社区 发布时间: 20170118
...er.context.drawImage(wxMgr.getOpenDataCanvas(), 0, 0); // console.log(laya.renders.RenderContext); // laya.renders.RenderContext.ctx.drawImage(wxMgr.getOpenDataCanvas(), 0, 0); 2018-04-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链...
来源: Laya_社区 发布时间: 20180426
...nit = function() { //判断当前渲染模式是WebGL还是Canvas if (Laya.Render.isWebGL) { Laya.init(800, 600, Laya.WebGL); Config.isAlpha = true; //设置画布是否透明,只对2D(WebGL)、3D有效。 Laya.stage.bgColor = "none"; //背景透明 } else { Laya.init(800, 600); Laya.stage.bgColor...
来源: Laya_社区 发布时间: 20170803
...我用的js,别的应该一样的) var circel=Bodies.circle(x,y,16, { render:{ sprite: { texture: 'xxx.png', xOffset: 16, yOffset: 16, xScale:2, yScale:2 } } }); srr5220 • 2018-08-27 20:15 @阿耀:这种方式我试过可以,它会new一个Sprite,大小也会改变。但是我想要传入...
来源: Laya_社区 发布时间: 20180827
...rarchy alpha blendMode cacheAs components contextHeight contextWidth customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea href innerHTML is3D mask mouseEnabled mouseX mouseY numChi...
来源: Laya3.0_api 发布时间: 20231102
...rarchy alpha blendMode cacheAs components contextHeight contextWidth customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea innerHTML is3D mask mouseEnabled mouseX mouseY numChildren...
来源: Laya3.0_api 发布时间: 20231102
...activeInHierarchy alpha anchorX anchorY blendMode cacheAs components customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea is3D mask mouseEnabled mouseX mouseY numChildren parent pi...
来源: Laya3.0_api 发布时间: 20231115
...activeInHierarchy alpha anchorX anchorY blendMode cacheAs components customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea is3D mask mouseEnabled mouseX mouseY numChildren parent pi...
来源: Laya3.0_api 发布时间: 20231115
...activeInHierarchy alpha anchorX anchorY blendMode cacheAs components customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize emitter filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea is3D mask mouseEnabled mouseX mouseY numChildren p...
来源: Laya3.0_api 发布时间: 20231115