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

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

1. 节点管理 · LayaAir3.0文档 · LAYABOX [ 100%]

...用个此方法可获取节点 获取节点对象数量numChildren 通过调用节点的numChildren属性,可以获得节点下一级的所有节点的数量,可用来遍历所有节点使用,注意不包括节点下的节点 获取节点对象parent 通过调用...

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

2. laya.ui.Panel [ 95%]

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

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

3. laya.d3.core.Sprite3D [ 95%]

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

来源: laya_api 发布时间: 20170929

4. laya.ui.View [ 94%]

...ll。Sprite  anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。View  anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。View autoDestroyAtClosed : Boolean = false场景被关闭后,是否自...

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

5. laya.d3.core.light.PointLight [ 94%]

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

来源: laya_api 发布时间: 20170929

6. laya.ui.ProgressBar [ 94%]

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

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

7. laya.d3.core.light.DirectionLight [ 94%]

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

来源: laya_api 发布时间: 20170929

8. laya.map.MapLayer [ 94%]

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

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

9. laya.d3.core.light.SpotLight [ 94%]

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

来源: laya_api 发布时间: 20170929

10. laya.d3.core.MeshSprite3D [ 94%]

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

来源: laya_api 发布时间: 20170929