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

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

121. Laya.Tween.to 用这个做缓动动效, 变动scale值有问题, [ 63%]

....tw1 = Laya.Tween.to(this.load_1, { scaleX:0.01 }, 250, Laya.Ease.quadOut, Handler.create(this, this.tw1Complete1)); 只要是设置scale值最终变为0就有问题,, var style=this.getStyle(); 这个获取style是空,,这个问题不是必现,,,,, 附件 : --> 2018-03-15...

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

122. 音频解码一直遇到这个问题呢,不知道什么原因 [ 62%]

...mo吧。 smile • 2018-05-31 17:36 @Laya_Aaron: Laya.loader.load(assetArr,Handler.create(this,this.gameStart),Handler.create(this,onProgress,null,false)); private var assetArr:Array=[ {url:"sound/bgMusic.mp3", type:Loader.SOUND}, {url:"sound/button.mp3", type:Loader.SOUND}, {url...

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

123. 回调函数... [ 62%]

回调函数... constructor(){ Laya.loader.load(this.skins, Handler.create(this, this.onUIAssetsLoaded)); } aaa() { } function onUIAssetsLoaded( this.aaa();//为什么回调函数不能调用,undefined } 2017-06-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已...

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

124. 关于tiledmap.moveViewPort动画问题 [ 62%]

...ya_Aaron 赞同来自: Tween.to(this,{x:40,y:50,ease:Ease.backOut,complete:Handler.create(this,onComplete),update:new Handler(this,onUpdate)}) 大概长这个样子 2018-07-06 0 1 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 如果会用tween 就好办,  tween 里面有个 update 回调,...

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

125. 多光源渲染(TypeScript-3D基础(TS)-LayaAir3D之灯光) [ 62%]

...load("res/threeDimen/scene/MultiLightScene/InventoryScene_Forest.ls", Laya.Handler.create(this, function (scene) { //添加到场景 Laya.stage.addChild(scene); var camera = scene.getChildByName("Main Camera"); camera.addComponent(CameraMoveScript); camera.transform.localPosition = new Laya.Vector3(...

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

126. 多光源渲染(JavaScript-3D基础(JS)-LayaAir3D之灯光) [ 62%]

...load("res/threeDimen/scene/MultiLightScene/InventoryScene_Forest.ls", Laya.Handler.create(this, function (scene) { //添加到场景 Laya.stage.addChild(scene); var camera = scene.getChildByName("Main Camera"); camera.addComponent(CameraMoveScript); camera.transform.localPosition = new Laya.Vector3(...

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

127. 从Unity中编辑并导出摄像机(ActionScript-3D基础(AS3)-LayaAir3D之Camera) [ 62%]

...ort laya.d3.core.scene.Scene; import laya.display.Stage; import laya.utils.Handler; import laya.utils.Stat; public class LayaAir3D { public function LayaAir3D() { //初始化引擎 Laya3D.init(1000, 500,true); //适配模式 Laya.stage.scaleMode = Stage.SCALE_FULL; Laya.stage.screenMode = Stage.SCRE...

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

128. TextureCube. setSixSideImageSources () [ 62%]

...;LayaScene_6/Conventional/Assets/New Folder/qiu2_NegativeX.png", Laya.Handler.create(null, (tex) => { var _textureCube = new Laya.TextureCube(); var img:Laya.Image = new Laya.Image(); img.texture=tex; _textureCube.setSixSideImageSources([ img, img, img, img, img, img ]); var skyM = new Laya....

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

129. 播放一首歌曲指定从一个时间点开始播放 无效。 [ 62%]

...同来自: soundchannel=SoundManager.playMusic(SongsData.getRrlSound(), 1, Handler.create(this, onCompleteHd), SongsData.starttime); 2019-04-24 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 Yangcy 相关问题 两个对象new了一个...

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

130. 如何获取动画长度? [ 62%]

...使用加载完回调还是获取不到   tl.loadAnimation("s.ani", Laya.Handler.create(this, () => { var bounds = tl.getGraphicBounds(); console.log(bounds.width) }, [tl]));   还是0 2018-01-24 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录...

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