大约有 316 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0089 秒)
Laya_社区(98) Laya3.0_api(64) Laya2.0_api(59) laya_api(55) Laya2.0_示例(13) Laya_示例(12) Laya2.0_文档(11) Laya3.0_文档(4)
... get_width globalToLocal hasHideFlag hasListener hitTestPoint isAncestorOf loadImage localToGlobal off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once parentRepaint pivot pos postMsg reCache removeChild removeChildAt removeChildByName removeChildren removeInputChi...
来源: Laya3.0_api 发布时间: 20231102
...lobalToLocal gotoAndStop hasHideFlag hasListener hitTestPoint isAncestorOf loadImage localToGlobal off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once parentRepaint pivot play pos reCache removeChild removeChildAt removeChildByName removeChildren removeLabel remov...
来源: Laya3.0_api 发布时间: 20231115
...oSize是不可取的。如果设置了size,autoSize将不起效。 使用loadImage后获取宽高: var sp=new Laya.Sprite(); sp.loadImage("res/apes/monkey2.png",0,0,0,0,Laya.Handler.create(this,function() { console.log(sp.width,sp.height); })); Laya.stage.addChild(sp); loadImage在加载完成...
来源: Laya3.0_文档 发布时间: 20241014
... get_width globalToLocal hasHideFlag hasListener hitTestPoint isAncestorOf loadImage localToGlobal off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once parentRepaint paused pivot play playbackRate pos reCache removeChild removeChildAt removeChildByName removeChildr...
来源: Laya3.0_api 发布时间: 20231115
...:Boolean 检测指定事件类型是否是鼠标事件。 EventDispatcher loadImage(url:String, x:Number = 0, y:Number = 0, width:Number = 0, height:Number = 0, complete:Handler = null):Sprite 加载并显示一个图片。功能等同于graphics.loadImage方法。支持异步加载。 注意:多...
来源: laya_api 发布时间: 20170929
...lobalToLocal gotoAndStop hasHideFlag hasListener hitTestPoint isAncestorOf loadImage localToGlobal off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once parentRepaint pivot play pos reCache removeChild removeChildAt removeChildByName removeChildren removeLabel remov...
来源: Laya3.0_api 发布时间: 20231115
...:Boolean 检测指定事件类型是否是鼠标事件。 EventDispatcher loadImage(url:String, x:Number = 0, y:Number = 0, width:Number = 0, height:Number = 0, complete:Handler = null):Sprite 加载并显示一个图片。功能等同于graphics.loadImage方法。支持异步加载。 注意:多...
来源: laya_api 发布时间: 20170929
...转.. 这个怎么设置呢? 付代码 : var ball_skin = new Laya.Sprite().loadImage("res/basketball.png"); ball_skin.pivot(ball_skin.width / 2, ball_skin.height / 2); this.ball = Matter.Bodies.circle(0, -100, 34, { layaSprite: ball_skin, // 绑定一个laya的Sprite, 不能用render.sprite ...
来源: Laya_社区 发布时间: 20170704
...width globalToLocal hasHideFlag hasListener hitTestPoint isAncestorOf load loadImage localToGlobal off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once parentRepaint paused pivot play playbackRate pos reCache removeChild removeChildAt removeChildByName removeChildr...
来源: Laya3.0_api 发布时间: 20231115
... get_width globalToLocal hasHideFlag hasListener hitTestPoint isAncestorOf loadImage localToGlobal off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once parentRepaint pivot pos reCache refresh removeChild removeChildAt removeChildByName removeChildren removeSelf ren...
来源: Laya3.0_api 发布时间: 20231115