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

大约有 242 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0036 秒)

81. 关于适配有点疑惑 [ 64%]

...配有点疑惑 在http://layaair.ldc.layabox.com/demo/?SmartScale_Scale_SHOW_ALL 这个demo中,我修改js代码测试几种适配模式,有一些困惑   我分别用noscale, fixedwidth, fixedheight进行试验, 代码如下:var rect; (function() { Laya.init(550, 400); // Laya.stage.scale...

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

82. 为什么转换后游戏在手机浏览器运行,背景图会有白边,如何去掉? [ 64%]

...扭曲,应用程序可能会拉伸或压缩显示。 2、StageScaleMode.SHOW_ALL -- 整个应用程序在指定区域中可见,且不发生扭曲,同时保持应用程序的原始高宽比。应用程序的两侧可能会显示边框。 3、StageScaleMode.NO_BORDER -- 整个应用程序填满...

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

83. playSound和playMusic结束时候有异常抛出 [ 64%]

...bGL);         //设置适配模式         Laya.stage.scaleMode = "showall";         //设置剧中对齐         Laya.stage.alignH = "center";         //设置横竖屏         Laya.stage.screenMode = "vertical";         //显示FPS         Laya.Stat.show(0, 50);   ...

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

84. laya.d3.core.pixelLine.PixelLineSprite3D [ 63%]

...素线渲染精灵。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node destroyed : Boolean = false[只读]是否...

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

85. laya.d3.core.MeshTerrainSprite3D [ 63%]

...用于创建网格。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node  depth : Number[read-only] 获取地形Z...

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

86. laya.d3.core.Camera [ 62%]

...于创建摄像机。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Sprite3D activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Sprite3D  aspectRatio : Number 获取横纵...

来源: laya_api 发布时间: 20170929

87. laya.media.SoundChannel [ 62%]

...大音量)。 SoundChannelPublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefined By event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher hasListener(type:String):Boolean 检查 EventDispatcher 对象是否为特定事件类型注册了任...

来源: laya_api 发布时间: 20170929

88. laya.d3.component.Animator [ 62%]

...创建动画组件。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By  avatar : Avatar 获取avatar。 Animator  cacheFrameRate : int 获取缓存播放帧,缓存模式下生效。 Animator  cachePlayRate : Number 获取缓存播放速...

来源: laya_api 发布时间: 20170929

89. laya.d3.core.VRCamera [ 61%]

...于创建VR摄像机。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Sprite3D activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Sprite3D  aspectRatio : Number[write-only...

来源: laya_api 发布时间: 20170929

90. laya.media.SoundChannel [ 61%]

...大音量)。 SoundChannelPublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefined By event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher hasListener(type:String):Boolean 检查 EventDispatcher 对象是否为特定事件类型注册了任...

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