大约有 1,739 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0052 秒)
Laya_社区(1363) laya_api(90) Laya3.0_api(82) Laya2.0_api(72) Laya2.0_文档(59) Laya_示例(33) Laya2.0_示例(32) Laya3.0_文档(8)
...游戏绘制开放域内容,字体模糊是什么原因? webgl 绘制graphics出报错 如何清除graphics绘制的矢量图 如何清除sharedCanvas上一次绘制的内容 Laya.Scene.open打开的对话框中如何在关闭的时候调用父Scene中的方法 小游戏开放数据域下使用L...
来源: Laya_社区 发布时间: 20171213
...nds Sprite { private var _shape:Sprite; public function MyBox() { super(); graphics.drawRect(0,0,200,200,"#00ff00"); _shape=new Sprite(); _shape.graphics.drawCircle(0,0,20,"#ff0000"); addChild(_shape); //加上这句正常,反之则异常 //_shape.cacheAsBitmap=true; pos(300,300); Tween.to(this,{r...
来源: Laya_社区 发布时间: 20170124
...ya/spine/SpineSkeletonRenderer.ts:16 Methods draw draw(skeleton: Skeleton, graphics: Graphics, slotRangeStart?: number, slotRangeEnd?: number): void Defined in laya/spine/SpineSkeletonRenderer.ts:41 Parameters skeleton: Skeleton graphics: Graphics Default value slotRangeStart: number = -1 Default va...
来源: Laya3.0_api 发布时间: 20231115
...n); } function createCoralRect() { var coralRect = new Sprite(); coralRect.graphics.drawRect(0, 0, Laya.stage.width, Laya.stage.height / 2, "#FF7F50"); //设置名称 coralRect.name = "珊瑚色容器"; coralRect.size(Laya.stage.width, Laya.stage.height / 2); Laya.stage.addChild(coralRect); coralRec...
来源: Laya_示例 发布时间: 20240930
...克隆sprite 什么克隆一个对象啊? 在下面的“ tempSpr2.graphics.drawTexture(tempSpr.texture, 0, 0, tempSpr.width, tempSpr.height);”中 tempSpr.texture 是空的 if (data && data.items != []) { let tempSpr: Sprite = new Sprite(); let...
来源: Laya_社区 发布时间: 20170508
...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
... VertexPositionNormalTexture0Texture1Properties | Methods Packagelaya.d3.graphicsClasspublic class VertexPositionNormalTexture0Texture1InheritanceVertexPositionNormalTexture0Texture1 ObjectImplements IVertex VertexPositionNormalTexture 类用于创建位置、法线、纹理顶点结构。 Public ...
来源: laya_api 发布时间: 20170929
...现转圈进度条的效果 this.mMask.graphics.clear(); Laya.timer.loop(10,this,this.showMask); public showMask():void { this.mMask.graphics.clear(); this.mMas...
来源: Laya_社区 发布时间: 20171101
...ix()); var matrix:Matrix = new Matrix(); matrix.rotate(Math.PI/4); sprite_.graphics.beginBitmapFill(bitmap_, matrix, true); sprite_.graphics.drawRect(100, 50, 200, 90); sprite_.graphics.endFill(); addChild(sprite_); 2017-04-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关...
来源: Laya_社区 发布时间: 20170414
...= Laya.Sprite, Event = Laya.Event; let coralRect = new Sprite(); coralRect.graphics.drawRect(0, 0, Laya.stage.width, Laya.stage.height / 2, "#FF7F50"); //设置名称 coralRect.name = "珊瑚色容器"; coralRect.size(Laya.stage.width, Laya.stage.height / 2); Laya.stage.addChild(coralRect); coralRec...
来源: Laya2.0_示例 发布时间: 20240930