大约有 245 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0290 秒)
...ler; public class Test { public function Test() { Laya.init(550,400); Laya.stage.bgColor="#EEFFCC"; Laya.loader.load("hu.ttf",Handler.create(this,onLoaded),null,Loader.BUFFER); } private function onLoaded():void { var arr:ArrayBuffer=Laya.loader.getRes("hu.ttf"); if(Browser.window.conch) { Browser.w...
来源: Laya_社区 发布时间: 20161219
...ment (game.js:10830:216090) at Context.flush (game.js:10830:216165) at Stage.render (game.js:10830:377311) at Stage._loop (game.js:10830:375823) 附件 : --> Game3DUP.zip FiveBox.zip 2019-09-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与...
来源: Laya_社区 发布时间: 20190916
...有静音的话,恢复网页后报错 游戏中有这样一个监听Laya.stage.on(Event.BLUR, this, onBlur); onBlur函数里有这样一个语句SoundManager.stopAll(); 进行了主动静音,这样做的目的是休眠后游戏自动结束,结束后的界面是没有背景音的,这样再复...
来源: Laya_社区 发布时间: 20170320
...是这样设置的: let ratioW = Laya.RenderContext3D.clientWidth / Laya.stage.width let ratioH = Laya.RenderContext3D.clientHeight / Laya.stage.height rect.x *= ratioW rect.y *= ratioH rect.width *= ratioW rect.height *= ratioH return rect 这个rect就是放3d模型的节点的位置的宽高 ...
来源: Laya_社区 发布时间: 20200401
...ponents customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize editable filters focus font fontSize globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea html htmlParseOptions is3D italic leading lines mask maxChars maxScrollX maxScrollY maxWid...
来源: Laya3.0_api 发布时间: 20231115
...此容器作为物理世界坐标世界,进行坐标变换,默认值为stage 设置特定容器后,就可整体位移物理对象,保持物理世界不变。 注意,仅会在 set worldRoot 时平移一次,其他情况请配合 updatePhysicsByWorldRoot 函数使用 Returns Sprite Defined ...
来源: Laya3.0_api 发布时间: 20231115
...Enable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hide hideFlags hitArea is3D isVertical lastOffset left mask max min mouseEnabled mouseWheelEnable mouseX mouseY numChildren parent p...
来源: Laya3.0_api 发布时间: 20231115
...ullPass customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize enableFog filters fogColor fogDensity fogEnd fogMode fogRange fogStart globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea iblTex iblTexRGBD is3D lightmaps mask mouseEnabled mouse...
来源: Laya3.0_api 发布时间: 20231115
...模式下发布之后,打包的图集没有json文件 使用Laya3Dinit和Stage裁切模式导致按钮判定区偏移 问题状态 最新活动: 2017-03-13 14:46 浏览: 1962 关注: 2 人 1578626012用户 • 2020-07-09 10:12 啥东西??看不懂
来源: Laya_社区 发布时间: 20170313
...Enable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea is3D left mask max min mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY sc...
来源: Laya3.0_api 发布时间: 20231115