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

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

41. laya.ui.CheckBox [ 78%]

...想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之...

来源: laya_api 发布时间: 20170929

42. laya.d3.core.glitter.Glitter [ 78%]

...rite3D  addGlitterByPositions(position0:Vector3, position1:Vector3):void 通过位置添加刀光。 Glitter  addGlitterByPositionsVelocitys(position0:Vector3, velocity0:Vector3, position1:Vector3, velocity1:Vector3):void 通过位置和速度添加刀光。 Glitter clearTimer(caller:*, method:...

来源: laya_api 发布时间: 20170929

43. laya.display.Text [ 78%]

...想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite  bgColor : String 文本背景颜色,以字符串表示。 Text blendMode : String指定要使用的混合模式。目前只支持"lighter"...

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

44. 组件脚本的内置方法 · LayaAir3.3 · 引擎文档 · LAYABOX [ 77%]

...的资源,如内存、纹理等,以避免内存泄漏和资源浪费。通过合理利用这些生命周期方法,开发者能够更好地管理游戏对象的状态和行为,提高游戏的性能和稳定性。 2.1 全部的生命周期方法列表 全部的生命周期方法如下面列表...

来源: Laya3.0_文档 发布时间: 20251010

45. LayaAir2.13.0 面板获取物体 代码获取该物体上的脚本 [ 77%]

...: 已经解决了,调试发现stage下的child数量为0 ,所以不能通过laya.stage获取。 要用owner.parent.getChildByname 2022-08-04 0 0 分享 微博 QZONE 微信 Laya_Fred 赞同来自: 您好,我们这里按照您说的方式获取物体并获取组件,没有复现您说的问题...

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

46. laya.ui.ProgressBar [ 77%]

...call。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。UIComponent autoSize : Boolean = false 指定是否自动计算宽...

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

47. laya.d3.core.light.PointLight [ 77%]

...节点的索引位置。 Node getComponentByIndex(index:int):Component3D 通过指定索引获得组件。 Sprite3D getComponentByType(type:*, typeIndex:int = 0):Component3D 通过指定类型和类型索引获得组件。 Sprite3D getComponentsByType(type:*, components:Vector.<Component3D>...

来源: laya_api 发布时间: 20170929

48. laya.ui.Box [ 77%]

...call。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。UIComponent autoSize : Boolean = false 指定是否自动计算宽...

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

49. laya.d3.core.light.DirectionLight [ 77%]

...节点的索引位置。 Node getComponentByIndex(index:int):Component3D 通过指定索引获得组件。 Sprite3D getComponentByType(type:*, typeIndex:int = 0):Component3D 通过指定类型和类型索引获得组件。 Sprite3D getComponentsByType(type:*, components:Vector.<Component3D>...

来源: laya_api 发布时间: 20170929

50. laya.ui.TextArea [ 77%]

...call。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。UIComponent autoSize : Boolean = false 指定是否自动计算宽...

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