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

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

261. 隐藏默认的虚拟键、屏蔽APP窗口弹出脚本错误信息 的问题 [ 48%]

...TER ; //垂直对齐方式 Laya.stage.alignV = Laya.Stage.ALIGN_MIDDLE ; //设置适配模式 Laya.stage.scaleMode = Laya.Stage.SCALE_SHOWALL; //屏幕适配(横屏还是竖屏) Laya.stage.screenMode = Laya.Stage.SCREEN_VERTICAL ; //隐藏默认的虚拟键 conch.showAssistantTouch(false); //屏...

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

262. List属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 48%]

...源面板里选择拖入一个 Label 组件,到编辑区的界面里,设置 Label 属性 name 的值为 m_label。另外再设置一下 Label 的显示相关属性使它更好看一些。 ​ **b.**选中 Label 对象,使用快捷键 Ctrl +B 或选择 **菜单栏->编辑->转换为容器** 选...

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

263. 角色模型的材质列表切换后,不播放动作了 [ 48%]

...ure): void { this._setTexture(CustomMaterial.DIFFUSETEXTURE_ID, value); } }设置材质 mesh.meshRender.sharedMaterials = mats; 设置了材质后,动作就静止了 2017-08-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交...

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

264. 在父sprite中添加子sprite ,移动父Sprite 子sprite为什么不动? [ 48%]

...tue = this.statue.getBounds(); var boundAngel = this.angel.getBounds(); // 设置位置 this.pos(42,399); this.tower.pos((boundBall.width - boundTower.width)/2+data.tower[towerLel].c1, -data.tower[towerLel].h+data.tower[towerLel].c2); this.aeroboat.pos((boundBall.width - boundTower.width)/2+data.tow...

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

265. laya.html.dom.HTMLDivElement [ 46%]

...内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显...

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

266. Cannot read property 'rayCast' of undefined [ 46%]

...Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; //2.设置舞台背景色为空 Laya.stage.bgColor = null; this.scene = new Laya.Scene3D(); this.camera = new Laya.Camera(0, 0.1, 100); Laya.stage.addChild(this.scene); this.scene.addChild(this.camera); this.camera.transform.tran...

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

267. laya.ui.VBox [ 45%]

...alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。UIComponent autoSize : Boolean = false 指定...

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

268. laya.ui.HBox [ 45%]

...alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。UIComponent autoSize : Boolean = false 指定...

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

269. laya.ui.VSlider [ 45%]

...alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。UIComponent autoSize : Boolean = false 指定...

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

270. laya.display.Text [ 45%]

...显示异常。(通常电脑上显示正常,在一些移动端因缺少设置的字体而显示异常)。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By  align : String 表示文本的水平显示方式。 取值: "left": 居左对齐...

来源: laya_api 发布时间: 20170929