大约有 651 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0059 秒)
...: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:641 _scene3D _scene3D: any Inherited from Scene._scene3D Defined in laya/display/Scene.ts:28 _skinBaseUrl _skinBaseUrl: string Inher...
来源: Laya3.0_api 发布时间: 20231115
...这个问题要怎么改啊? appPic.as package { import laya.display.Sprite; import laya.resource.Texture; import laya.ui.Image; import laya.utils.Handler; public class addPic { private var picUrl:String; private var pic:Sprite; private var picX:int; private var picY:int; public function addPic...
来源: Laya_社区 发布时间: 20170522
...同来自: 亲,我想问问你最后怎么解决的,我是在同一个sprite多次截图,发现截出来的图会有叠加情况 2018-01-25 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 leoganliang 相关问题 发起问题须知...
来源: Laya_社区 发布时间: 20170407
...: ```javascript //初始化引擎 Laya.init(1136,640); var sp = new Laya.Sprite(); var xhr = new Laya.HttpRequest(); xhr.once(Laya.Event.COMPLETE,this,completeHandler); xhr.once(Laya.Event.ERROR,this,errorHandler); xhr.send("res/monkey2.png","","get","arraybuffer"); function completeHandler(data){...
来源: Laya2.0_文档 发布时间: 20210715
...tyPlugin 使用须知-版本更新-问题解答(最新版本:1.7.16) sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale layabox真的只能做棋牌吗?和flash比谁更强?本视频给你答疑解惑! LayaAirIDE下如何使用mask? 使用3D时候,Property '...
来源: Laya_社区 发布时间: 20240305
为什么hitTestPoint始终是false? class TestUI extends Laya.Sprite { private s:Laya.Sprite = new Laya.Sprite(); constructor() { super(); var img:Laya.Image = new Laya.Image("comp/bg.png"); this.s.addChild(img); this.addChild(this.s); Laya.stage.on(Laya.Event.CLICK, this, this.hitPoint); } priv...
来源: Laya_社区 发布时间: 20170319
...nAssetLoad)); } function onAssetLoad() { older = new Laya.Sprite(); older.loadImage("../laya/assets/comp/image.png"); Laya.stage.addChild(older); console.log(older.scaleX,older.scaleY,older.rotation,older.x,older.y, older.width,older.height,older.getBounds()....
来源: Laya_社区 发布时间: 20170118
...哈 请教下微信小游戏的内存和数据缓存? 请教下 如何把sprite的一部分区域保存成一个图片用来上传服务器 请教下textarea如何设置滚动条,现在文字量多一点话就不能滚动查看内容 场景切换造成的FPS下降的优化思路请教 IDE与微...
来源: Laya_社区 发布时间: 20180326
fillTexture使用问题 sprite使用drawTexture是可以正常使用的,但是用fillTexture时无任何效果。 class Map extends laya.display.Sprite { static width: number = 1188; static height: number = 594; constructor() { super(); Laya.loader.load("res/images/map_01.png", Laya.Handler.creat...
来源: Laya_社区 发布时间: 20170714
...显示。 > ## 一、遮罩API介绍 遮罩属性位于[laya.display.Sprite](https://layaair2.ldc2.layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=Core&category=display&class=laya.display.Sprite) API内,该属性的说明如图1所示: (图1) ## 二、简单...
来源: Laya2.0_文档 发布时间: 20210715