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

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

61. laya.ui.UIComponent [ 40%]

...期: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

62. 组件装饰器说明 · LayaAir3.0文档 · LAYABOX [ 39%]

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

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

63. 实体组件系统 · LayaAir3.0文档 · LAYABOX [ 38%]

...也会调用 onReset 重置组件参数到默认值,如果实现了这个函数,则组件会被重置并且自动回收到对象池,方便下次复用。如果没有重置,则不进行回收复用 onAwake 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只...

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

64. 自定义Shader · LayaAir3.0文档 · LAYABOX [ 37%]

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

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

65. SubShader介绍(JavaScript-3D基础(JS)-LayaAir3D之shader) [ 36%]

...个subShader。 **在LayaAir3D中的SubShader属性介绍:** - 1.构造函数,需要两个参数,一个是attributeMap,一个是uniformMap,attributeMap定义了顶点的属性信息,对应的Shader中的attribute属性,attributeMap是一个映射,key是attribute属性的名称,valu...

来源: Laya2.0_文档 发布时间: 20210714

66. SubShader介绍(TypeScript-3D基础(TS)-LayaAir3D之Shader) [ 36%]

...个subShader。 **在LayaAir3D中的SubShader属性介绍:** - 1.构造函数,需要两个参数,一个是attributeMap,一个是uniformMap,attributeMap定义了顶点的属性信息,对应的Shader中的attribute属性,attributeMap是一个映射,key是attribute属性的名称,valu...

来源: Laya2.0_文档 发布时间: 20210715

67. SubShader介绍(ActionScript-3D基础(AS3)-LayaAir3D之shader) [ 36%]

...个subShader。 **在LayaAir3D中的SubShader属性介绍:** - 1.构造函数,需要两个参数,一个是attributeMap,一个是uniformMap,attributeMap定义了顶点的属性信息,对应的Shader中的attribute属性,attributeMap是一个映射,key是attribute属性的名称,valu...

来源: Laya2.0_文档 发布时间: 20210715

68. laya.ui.UIComponent_API3.0 [ 36%]

...期: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

69. laya.ui.Panel_API3.0 [ 35%]

... 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

70. 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