大约有 1,772 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0054 秒)
Laya_社区(1393) laya_api(90) Laya3.0_api(82) Laya2.0_api(72) Laya2.0_文档(59) Laya_示例(33) Laya2.0_示例(32) Laya3.0_文档(11)
...求。 修改2.0版本 laya.html.js库里的代码__proto.renderSelfToGraphic=function(graphic,gX,gY,recList){ var cssStyle=this.style; var words=this._getWords(); var i=0,len=0; if (words){ len=words.length; var a; if (cssStyle){ var font=cssStyle.font; var color=cssStyle.color; if (cssStyle.str...
来源: Laya_社区 发布时间: 20190611
...canRead(): boolean Inherited from IndexBuffer3D.canRead Defined in laya/d3/graphics/IndexBuffer3D.ts:36 是否可读。 Returns boolean indexCount get indexCount(): number Inherited from IndexBuffer3D.indexCount Defined in laya/d3/graphics/IndexBuffer3D.ts:29 索引个数。 Returns number indexType...
来源: Laya3.0_api 发布时间: 20231115
...his.DEF_SIZE,this.DEF_SIZE) this.pos(200,200) this.cacheAs = "bitmap" this.graphics.drawPie(this.DEF_SIZE >> 1, this.DEF_SIZE >> 1, this.DEF_SIZE >> 1,-90,this.startY,'#ff0000') this.$circleSprite.blendMode = "destination-out" this.$circleSprite.pos(this.CIRCLE_WIDTH >> 1,thi...
来源: Laya_社区 发布时间: 20180123
...neColor:*, lineWidth:Number = 1):void 绘制一系列曲线。 如何清除graphics绘制的矢量图 使用滤镜、遮罩、或者绘制频率很高的时候回出现黑屏闪烁 webgl 绘制graphics出报错 如何给Sprite的graphics绘制的线条添加发光滤镜? 小游戏开放数据域...
来源: Laya_社区 发布时间: 20180327
...var textureUrl = (flag = !flag) ? texture1 : texture2; // 更换纹理 ape.graphics.clear(); var texture = Laya.loader.getRes(textureUrl); ape.graphics.drawTexture(texture, 0, 0); // 设置交互区域 ape.size(texture.width, texture.height); } })();module laya { import Sprite = Laya.Sprite; import ...
来源: Laya_示例 发布时间: 20251209
...ionNormalColorTexture0Texture1TangentProperties | Methods Packagelaya.d3.graphicsClasspublic class VertexPositionNormalColorTexture0Texture1TangentInheritanceVertexPositionNormalColorTexture0Texture1Tangent ObjectImplements IVertex VertexPositionNormalColorTextureTangent 类用于创建位置、...
来源: laya_api 发布时间: 20170929
...除释放资源? var sp = new Laya.Sprite(); Laya.stage.addChild(sp); sp.graphics.drawPie(0,0,50,0,160,"#122D3E"); 绘制完成以后,我怎么从舞台删除绘制的图形和释放Sprite相关资源? clear和removeChild???具体怎么操作? 2017-11-19 添加评论 免费帖 --...
来源: Laya_社区 发布时间: 20171119
...图集能清除掉么? private function onLoad(tex:Texture):void { var g:Graphics = new Graphics(); g.drawTexture(tex, 0, 0); _s.graphics = g; Laya.timer.once(2000, this, onClear); } private function onClear():void { _s.graphics.clear(); _s.destroy(true); _s.removeSelf(); _s...
来源: Laya_社区 发布时间: 20170222
layaAir真的没办法做涂鸦板? 我用sp.graphics.drawLines方法做了个鼠标画线,确实是连续画的时间长了,就会很卡,在平板上尤其明显,画两三条线之后就不行了,没办法解决吗?用JS原生的画线方法怎么能加载我的内容上呢,我是...
来源: Laya_社区 发布时间: 20180510
...PositionNormalTexture0Texture1TangentProperties | Methods Packagelaya.d3.graphicsClasspublic class VertexPositionNormalTexture0Texture1TangentInheritanceVertexPositionNormalTexture0Texture1Tangent ObjectImplements IVertex VertexPositionNormalTextureTangent 类用于创建位置、法线、纹理...
来源: laya_api 发布时间: 20170929