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

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

111. layaAir如何实现for循环加载多张图片,并且通过事件按比例缩小 [ 53%]

...event.targe指向。layaair折腾半天,搞不明白image组件,sprite.loadImage,Laya.loader.load如果用for循环操作,响应事件中用什么方法指向事件的发起对象?原来用e.target和e.data。现在事件发起者和加载的数据怎么得到呢?(不用循环可以用...

来源: Laya_社区 发布时间: 20161023

112. LayaAir和原生DOM交互(TypeScript-2D进阶篇(TS)-扩展模块) [ 52%]

... '' + 'cheese' + '' + '' + ''; var sp: Laya.Sprite = new Laya.Sprite(); sp.loadImage(data, 0, 0, 200, 200); Laya.stage.addChild(sp); } } new LayaUISample; ``` 通过data来当做url传递给loadImage这个方法引擎就会帮我们加载并解码显示出来。loadImage这个方法中的参数不...

来源: Laya2.0_文档 发布时间: 20210715

113. laya.display.Animation [ 52%]

...画的播放实质就是定时切换Graphics对象。 使用set source、loadImages(...)、loadAtlas(...)、loadAnimation(...)方法可以创建动画模版。使用play(...)可以播放指定动画。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefin...

来源: Laya2.0_api 发布时间: 20190513

114. laya.d3.core.scene.VRScene [ 51%]

...e(state:RenderState):void 更新后处理,可重写此函数。 BaseScene loadImage(url:String, x:Number = 0, y:Number = 0, width:Number = 0, height:Number = 0, complete:Handler = null):Sprite 加载并显示一个图片。功能等同于graphics.loadImage方法。支持异步加载。 注意:多...

来源: laya_api 发布时间: 20170422

115. laya.physics.PhysicsDebugDraw_API3.0 [ 51%]

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

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

116. laya.map.TileAniSprite_API3.0 [ 51%]

...width globalToLocal hasHideFlag hasListener hide 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

117. scaleMode bug [ 51%]

...撞无法触发OnTriggerEnter、OnTriggerStay、OnTriggerExit的bug image loadimage 加载网络图片BUG 问题状态 最新活动: 2018-03-16 15:14 浏览: 751 关注: 2 人 smallsow • 2018-03-16 14:53 SCALE_FIXED_WIDTH : String = fixedwidth [static] 应用保持设计宽度不变,高度根据...

来源: Laya_社区 发布时间: 20180316

118. laya.html.dom.HTMLIframeElement_API3.0 [ 51%]

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

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

119. laya.particle.Particle2D_API3.0 [ 50%]

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

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

120. laya.media.SoundNode_API3.0 [ 50%]

... get_width globalToLocal 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 removeSelf render...

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