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

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

71. laya.physics.PhysicsDebugDraw [ 71%]

...t 物理辅助线,调用PhysicsDebugDraw.enable()开启,或者通过IDE设置打开 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景...

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

72. laya.ui.ColorPicker [ 70%]

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

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

73. laya.map.TileAniSprite [ 70%]

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

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

74. 浏览器接口 · LayaAir3.3 · 引擎文档 · LAYABOX [ 70%]

...wser.document.createElement("iframe"); iframe.style.position ="absolute";//设置布局定位。这个不能少。 iframe.style.zIndex = 100;//设置层级 iframe.style.left ="100px"; iframe.style.top ="100px"; iframe.src = "http://ask.layaair.com/"; Laya.Browser.document.body.appendChild(iframe); ...

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

75. laya.ui.AsynDialog [ 69%]

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

来源: laya_api 发布时间: 20170929

76. laya.ui.UIGroup [ 69%]

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

来源: laya_api 发布时间: 20170929

77. 基础使用与构成 · LayaAir3.3 · 引擎文档 · LAYABOX [ 69%]

...全一致,尤其在处理列表组件时更为常见。此时可以通过设置组件 dataSource,对原始数据进行结构调整,使其满足列表渲染所需格式。 示例代码如下: import { ItemBoxBase } from "./ItemBox.generated"; const { regClass, property } = Laya; @regCla...

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

78. laya.particle.Particle2D [ 69%]

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

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

79. laya.ui.ScaleBox [ 69%]

...Component Sprite Node EventDispatcher Object 自适应缩放容器容器设置大小后,容器大小始终保持stage大小,子内容按照原始最小宽高比缩放 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获...

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

80. laya.utils.PerfHUD [ 69%]

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

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