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

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

161. LayaNative端使用.ttf字体 [ 62%]

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

162. 为了降低drawcall,升级了2.2版本,微信发布后报错 [ 62%]

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

163. 休眠触发Event.BLUR的函数里有静音的话,恢复网页后报错 [ 62%]

...有静音的话,恢复网页后报错 游戏中有这样一个监听Laya.stage.on(Event.BLUR, this, onBlur); onBlur函数里有这样一个语句SoundManager.stopAll(); 进行了主动静音,这样做的目的是休眠后游戏自动结束,结束后的界面是没有背景音的,这样再复...

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

164. 真机测试时 有3d模型的界面尺寸就会错乱 [ 62%]

...是这样设置的: 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

165. laya.display.Input_API3.0 [ 62%]

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

166. laya.physics.Physics_API3.0 [ 62%]

...此容器作为物理世界坐标世界,进行坐标变换,默认值为stage 设置特定容器后,就可整体位移物理对象,保持物理世界不变。 注意,仅会在 set worldRoot 时平移一次,其他情况请配合 updatePhysicsByWorldRoot 函数使用 Returns Sprite Defined ...

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

167. laya.ui.ScrollBar_API3.0 [ 62%]

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

168. laya.d3.core.scene.Scene3D_API3.0 [ 62%]

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

169. 有没有alpha的混合模式? [ 62%]

...模式下发布之后,打包的图集没有json文件 使用Laya3Dinit和Stage裁切模式导致按钮判定区偏移 问题状态 最新活动: 2017-03-13 14:46 浏览: 1962 关注: 2 人 1578626012用户 • 2020-07-09 10:12 啥东西??看不懂

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

170. laya.ui.Slider_API3.0 [ 62%]

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