大约有 186 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0098 秒)
...0iDE bug 微信小游戏兼容性bug 部分机型load场景不显示 image loadimage 加载网络图片BUG 关于2D物理碰撞无法触发OnTriggerEnter、OnTriggerStay、OnTriggerExit的bug 问题状态 最新活动: 2019-03-03 16:58 浏览: 4562 关注: 4 人 @_@ • 2019-01-16 19:21 我也遇到...
来源: Laya_社区 发布时间: 20181019
...e drawTextures drawTriangles fillBorderText fillText fillTexture getBounds loadImage removeCmd restore rotate save scale strokeText transform translate create recycle Constructors constructor new GraphicsAni(): GraphicsAni Inherited from Graphics.constructor Defined in laya/display/Graphics.ts:54 Re...
来源: Laya3.0_api 发布时间: 20231115
...e drawTextures drawTriangles fillBorderText fillText fillTexture getBounds loadImage removeCmd restore rotate save scale strokeText transform translate Constructors constructor new Graphics(): Graphics Defined in laya/display/Graphics.ts:54 Returns Graphics Accessors cmds get cmds(): any[] set cmds(...
来源: Laya3.0_api 发布时间: 20231115
...e drawTextures drawTriangles fillBorderText fillText fillTexture getBounds loadImage removeCmd restore rotate save scale setState strokeText transform translate Constructors constructor new AutoBitmap(): AutoBitmap Inherited from Graphics.constructor Defined in laya/display/Graphics.ts:54 Returns Au...
来源: Laya3.0_api 发布时间: 20231115
...画的播放实质就是定时切换Graphics对象。 使用set source、loadImages(...)、loadAtlas(...)、loadAnimation(...)方法可以创建动画模版。使用play(...)可以播放指定动画。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefin...
来源: laya_api 发布时间: 20170929
...; onAwake(): void { this.spr.size(512, 313); //设置Sprite大小 this.spr.loadImage("atlas/comp/image.png"); //添加纹理 } } 效果如图1-2所示: (图1-2) 1.2 3D节点的基础使用 首先,如动图1-3所示,将场景中已经添加好的3D节点Cube拖入到@property暴露的属性...
来源: Laya3.0_文档 发布时间: 20251010
...创建完毕,此方法只执行一次 */ onAwake(): void { this.sprite.loadImage("atlas/comp/image.png"); //纹理:图片路径 this.sprite.pos(Laya.stage.width >> 1, Laya.stage.height >> 1); //位置:屏幕中心 this.sprite.x = Laya.stage.width/2; //x、y分别设置位置 this.s...
来源: Laya3.0_文档 发布时间: 20251010
...ictMap(index: number):void { var mapName="res/img/map/"+index; this.mapImg.loadImage(mapName); } } 附件 : --> 2017-11-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 6 个回复 wudi199553 赞同来自: zhengmaid...
来源: Laya_社区 发布时间: 20171124
...画的播放实质就是定时切换Graphics对象。 使用set source、loadImages(...)、loadAtlas(...)、loadAnimation(...)方法可以创建动画模版。使用play(...)可以播放指定动画。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefin...
来源: Laya2.0_api 发布时间: 20190513
...(比较耗CPU,频繁使用会造成卡顿,尽量少用)。 Graphics loadImage(url:String, x:Number = 0, y:Number = 0, width:Number = 0, height:Number = 0, complete:Function = null):void 加载并显示一个图片。 Graphics restore():void 返回之前保存过的路径状态和属性。 ...
来源: laya_api 发布时间: 20170929