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

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

11. laya.ui.UIComponent [ 50%]

...期:preinitialize > createChildren > initialize > 组件构造函数 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中是否...

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

12. 组件装饰器说明 · LayaAir3.4 · 引擎文档 · LAYABOX [ 43%]

...nChange: "onChangeTest" 当属性改变时,调用名称为onChangeTest的函数。函数需要在当前组件类上定义 代码示例如下(只列出上文没有介绍过的): //隐藏控制 @property({ type: Boolean }) a: boolean; @property({ type: String, hidden: "!data.a" })//将条件...

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

13. 自定义3D Shader · LayaAir3.4 · 引擎文档 · LAYABOX [ 43%]

...几个三角形构成,渲染几乎是瞬间完成的,但上千个渲染函数调用却会极大地影响性能。 如果启动Instancing,将这类数据一次性发送给GPU,然后调用一次绘制函数让OpenGL利用这些数据绘制多个物体,这样就十分的方便,这就是Inst...

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

14. laya.ui.UIComponent_API3.0 [ 37%]

...期:preinitialize > createChildren > initialize > 组件构造函数 Hierarchy Sprite UIComponent Box ISelect Button Clip ColorPicker Label Image Slider ScrollBar ComboBox ProgressBar TipManager OpenDataContextView Index Constructors constructor Properties _extra _ownGraphics _scene _skin...

来源: Laya3.0_api 发布时间: 20231115

15. laya.ui.Panel_API3.0 [ 34%]

... laya/ui/Panel.ts:31 创建一个新的 Panel 类实例。 在 Panel 构造函数中设置属性width、height的值都为100。 Returns Panel Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya/display/Node.ts:56 _ownGraphics _ownGraphics: boolean = false Inheri...

来源: Laya3.0_api 发布时间: 20231115

16. laya.ui.Tree_API3.0 [ 31%]

...in laya/ui/Tree.ts:254 创建一个新的 Tree 类实例。 在 Tree 构造函数中设置属性width、height的值都为200。 Returns Tree Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya/display/Node.ts:56 _ownGraphics _ownGraphics: boolean = false Inherit...

来源: Laya3.0_api 发布时间: 20231115