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

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

161. laya.d3.graphics.IndexBuffer3D [ 86%]

... No Frames IndexBuffer3DProperties | Methods | Constants Packagelaya.d3.graphicsClasspublic class IndexBuffer3DInheritanceIndexBuffer3D Buffer Object IndexBuffer3D 类用于创建索引缓冲。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined B...

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

162. drawTexture 画出来的数据会有以前的数据 [ 86%]

...er.frameLoop(10,this,refresh); } private function refresh():void { IconSpr.graphics.clear(); iconSpr.graphics.clear(); if(htmlCanvas) htmlCanvas.clear(); htmlCanvas = iconSpr.drawToCanvas(iconSpr.width,iconSpr.height,0,0); if(!texture) texture = new Texture(htmlCanvas); else { texture.destroy(true);...

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

163. laya.d3.graphics.IndexBuffer3D [ 86%]

... No Frames IndexBuffer3DProperties | Methods | Constants Packagelaya.d3.graphicsClasspublic class IndexBuffer3DInheritanceIndexBuffer3D Buffer laya.resource.Resource IndexBuffer3D 类用于创建索引缓冲。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties P...

来源: laya_api 发布时间: 20170929

164. sprite.loadImage加载图片怎么设置要显示的x,y坐标和宽高? [ 86%]

...: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: 用 graphic.drawTexture 2019-02-14 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 仰望星空 相关问题 请问LayaAir中如何使图片以圆形的方式显示?...

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

165. layaAir真的没办法做涂鸦板? [ 86%]

layaAir真的没办法做涂鸦板? 我用sp.graphics.drawLines方法做了个鼠标画线,确实是连续画的时间长了,就会很卡,在平板上尤其明显,画两三条线之后就不行了,没办法解决吗?用JS原生的画线方法怎么能加载我的内容上呢,我是...

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

166. 关于环形进度条,进度不能重置问题 [ 85%]

...is.box); this.draw = new Sprite(); this.box.addChild(this.draw); this.draw.graphics.drawPie(this.say.width/2, this.say.height/2, this.say.width/2+9,0,this.angle, "#ffffff"); this.circle = new Sprite(); this.circle.graphics.drawCircle(this.say.width/2, this.say.height/2, this.say.width/2, "#00ffff");...

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

167. WebGL下透明度的问题 [ 85%]

WebGL下透明度的问题 我在WebGL模式下的一个View里用Graphics画了黑色的底色 然后上面有一张图片 对View设置了alpha为0.9,这时graphics绘的底色透明度生效了,可以隐约看见背后的内容,但是图片完全没有透明值,请问下是什么原因...

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

168. 半透明的矩形鼠标穿透问题 [ 85%]

...鼠标穿透问题 //画矩形 this.addLabel = new Sprite(); this.addLabel.graphics.drawRect(0, 730, 1440, 170, "#000000"); this.addLabel.alpha = 0.6; this.addLabel.mousethrough = false; this.addLabel.mouseEnabled = true; sp.addChild(this.addLabel); 仍然能够点击下面的按钮.这个要怎么...

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

169. hitArea用法问题 [ 85%]

...,点击则可正常关闭); 请指教!  // 写法一 let g:Laya.Graphics = new Laya.Graphics(); g.drawRect(this.closeBtn.x-10,this.closeBtn.y-10,this.closeBtn.width+20,this.closeBtn.height+20,"#FF0000"); let hitA:Laya.HitArea = new Laya.HitArea(); hitA.hit = g; this.closeBtn.hitArea = hitA;...

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

170. 龙骨动画-拖拽-点击区域HitArea设置问题 [ 85%]

...); rectangle = skeleton.getBounds(); var hitArea = new Laya.HitArea(); var graphic = new Laya.Graphics(); graphic.drawRect(-rectangle.x, -rectangle.y, rectangle.width, rectangle.height); hitArea.hit = graphic; skeleton.hitArea = hitArea; Laya.stage.graphics.drawRect(-rectangle.x, -rectangle.y, recta...

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