大约有 215 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0083 秒)
...很多组件属性是通用的,常用及通用的组件属性在`属性设置器`文档中已进行介绍。阅读本篇内容前请先阅读《属性设置器》文档。 ## 1、了解RadioGroup组件 ### 1.1 RadioGroup组件的作用 RadioGroup是单选框按钮组,按钮组之内的组件选...
来源: Laya2.0_文档 发布时间: 20210715
...ateFun("hero", this.pHero.create, this.pHero)创建对象,同时给对象设置位置,成功 跳转到b场景后,通过Laya.Pool.getItemByCreateFun("hero", this.pHero.create, this.pHero)获取这个对象时,获取成功,设置对象位置为新位置无效,日志打印还是a场景所在位置 ...
来源: Laya_社区 发布时间: 20200309
...alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。UIComponent autoSize : Boolean = false 指定...
来源: Laya2.0_api 发布时间: 20190513
...mponent asPassword : Boolean 本API已弃用。使用type="password"替代设置asPassword, asPassword将在下次重大更新时删去。 指定文本字段是否是密码文本字段。 如果此属性的值为 true,则文本字段被视为密码文本字段,并使用星号而不是实际字...
来源: laya_api 发布时间: 20170929
...oid平台 报错 btCollisionObject undefined 关于同为object层,层级设置无效的问题 Laya2.1.0 JS调用Java PlatformClass undefined Uncaught TypeError: Cannot read property 'props' of undefined 运行报错 Uncaught Can not find scene:GameView.scene undefined Warning!,this class[MiniAdpt...
来源: Laya_社区 发布时间: 20170523
...ledMap里面Laya.ILaya报undefined LayaAir IDE 使用组件GlowFilterSetter设置阴影,报错undefined。 发布的时候,报错 [ERROR] Cannot read property 'dom_parser' of undefined 问题状态 最新活动: 2017-12-05 18:23 浏览: 956 关注: 2 人 15952728807 • 2017-12-05 15:44 (functio...
来源: Laya_社区 发布时间: 20171205
... Component cannot be invoked without 'new' 关于graphics.drawTexture方法设置纹理报错TypeError: texture.getIsReady is not a function 升级到2.2.0Beta报错Uncaught TypeError: Class constructor Sprite cannot be invoked without 'new' TypeError: Laya.MovieClip is not a constructor Laya.Animat...
来源: Laya_社区 发布时间: 20171111
...alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。UIComponent autoSize : Boolean = false 指定...
来源: Laya2.0_api 发布时间: 20190513
...onent asPassword : Boolean 本API已弃用。使用type="password"替代设置asPassword, asPassword将在下次重大更新时删去。 指定文本字段是否是密码文本字段。 如果此属性的值为 true,则文本字段被视为密码文本字段,并使用星号而不是实际字...
来源: laya_api 发布时间: 20170929
...aterial = sprite3DMat; } //绘制文字到canvas,判断换行位置,和设置canvas高度 public canvasWrapText(options) { var settings = { canvas:null, canvasWidth:512, //canvas的宽度 canvasHeight:128, //canvas的宽度 font:"40px 'Microsoft Yahei'", //文字样式 text:"请...
来源: Laya_社区 发布时间: 20180814