• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 324 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0144 秒)

211. 2D性能优化 · LayaAir3.3 · 引擎文档 · LAYABOX [ 51%]

...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_文档 发布时间: 20251010

212. laya.spine.SpineSkeleton_API3.0 [ 51%]

... 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

213. laya.ui.TextInput [ 51%]

...: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

214. laya.display.EffectAnimation_API3.0 [ 51%]

...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

215. laya.ui.Slider [ 51%]

...: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

216. 我用matter.js渲染一个篮球, 但是不会自动旋转.. 这个怎么设置呢? [ 51%]

...转.. 这个怎么设置呢? 付代码 : 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

217. laya.ani.bone.Skeleton_API3.0 [ 51%]

...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

218. laya.ui.Panel_API3.0 [ 50%]

... 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

219. laya.media.VideoNode_API3.0 [ 50%]

...width globalToLocal hasHideFlag hasListener hitTestPoint isAncestorOf load loadImage localToGlobal off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once parentRepaint pause pivot play pos reCache reload removeChild removeChildAt removeChildByName removeChildren remo...

来源: Laya3.0_api 发布时间: 20231115

220. laya.ui.UIComponent_API3.0 [ 50%]

... get_width globalToLocal hasHideFlag hasListener hitTestPoint isAncestorOf loadImage localToGlobal off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once parentRepaint pivot pos reCache removeChild removeChildAt removeChildByName removeChildren removeSelf render repa...

来源: Laya3.0_api 发布时间: 20231115