大约有 564 项符合查询结果, 库内数据总量为 30,934 项。 (搜索耗时: 0.0069 秒)
Laya3.0_api(122) Laya_社区(111) Laya2.0_api(106) Laya2.0_文档(100) laya_api(93) Laya3.0_文档(29) Laya2.0_示例(3)
...想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite bgColor : String 文本背景颜色,以字符串表示。 Text blendMode : String指定要使用的混合模式。目前只支持"lighter"...
来源: laya_api 发布时间: 20170929
...节点的索引位置。 Node getComponentByIndex(index:int):Component3D 通过指定索引获得组件。 Sprite3D getComponentByType(type:*, typeIndex:int = 0):Component3D 通过指定类型和类型索引获得组件。 Sprite3D getComponentsByType(type:*, components:Vector.<Component3D>...
来源: laya_api 发布时间: 20170929
...call。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。UIComponent autoPlay : Boolean 表示是否自动播放动画,若...
来源: Laya2.0_api 发布时间: 20190513
...想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display/Sprite.ts:273 指定鼠标事件检测是优先检测...
来源: Laya3.0_api 发布时间: 20231115
...runCallLater(method:Function):void 如果有需要延迟调用的函数(通过 callLater 函数设置),则立即执行延迟调用函数。 Node setChildIndex(node:Node, index:int):Node 设置子节点的索引位置。 Node timerLoop(delay:int, caller:*, method:Function, args:Array = null, ...
来源: Laya2.0_api 发布时间: 20190513
...节点的索引位置。 Node getComponentByIndex(index:int):Component3D 通过指定索引获得组件。 Sprite3D getComponentByType(type:*, typeIndex:int = 0):Component3D 通过指定类型和类型索引获得组件。 Sprite3D getComponentsByType(type:*, components:Vector.<Component3D>...
来源: laya_api 发布时间: 20170929
...视图切换。它包含多个子页面,但默认只显示一个,可以通过子页面索引进行显示切换。一般情况我们用它与Tab标签组合制作标签切换页面。如动图1所示。 (动图1) ### 1.2 ViewStack组件的资源(skin)规范 ViewSt...
来源: Laya2.0_文档 发布时间: 20210714
...想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Implementation of ISelect.hitTestPrior Inherited from Text.hitTestPrior Defined in laya/display/Sprite.ts:273 ...
来源: Laya3.0_api 发布时间: 20231115
...中创建3D粒子 2.1 粒子节点 在场景中的Scene3D节点下,可以通过鼠标右键来创建3D粒子 (图2.1.1-1) 默认粒子系统添加完成效果 (动图2) 2.2 预制体 如果考虑到3D粒子是需要复用的,建议使用预制体,在Assets下创建预制体,双击打...
来源: Laya3.0_文档 发布时间: 20250310
...中创建3D粒子 2.1 粒子节点 在场景中的Scene3D节点下,可以通过鼠标右键来创建3D粒子 (图2.1.1-1) 默认粒子系统添加完成效果 (动图2) 2.2 预制体 如果考虑到3D粒子是需要复用的,建议使用预制体,在Assets下创建预制体,双击打...
来源: Laya3.0_文档 发布时间: 20250104