大约有 615 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0049 秒)
Laya3.0_api(274) laya_api(104) Laya2.0_api(97) Laya_社区(76) Laya2.0_文档(39) Laya3.0_文档(16) Laya2.0_示例(5) Laya_示例(4)
... Node addChildAt(node:Node, index:int):Node 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node clearTimer(caller:*, method:Function):void 清理定时器。功能同Laya.timer.clearTimer()。 Node contains(node:Node):Boolean 当前容器...
来源: laya_api 发布时间: 20170929
...的列表,如果你需要更新某个item,自行调用renderListItem(索引,getChildAt(索引))就可以了。 如果要侦听点击某一个item的事件,不必每个item加上Click事件的侦听器,而是直接侦听列表的ClickItem事件: list.on(Laya.UIEvent.ClickItem, this, this....
来源: Laya3.0_文档 发布时间: 20251128
... number): Keyframe2D Defined in laya/components/KeyframeNode2D.ts:46 通过索引获取帧。 Parameters index: number 索引。 Returns Keyframe2D getOwnerPathByIndex getOwnerPathByIndex(index: number): string Defined in laya/components/KeyframeNode2D.ts:66 通过索引获取精灵路径。 Paramet...
来源: Laya3.0_api 发布时间: 20231115
...,0点位置不变。 Sprite selectedIndex : int 表示当前选择的项索引。selectedIndex值更改会引起list重新渲染 List selectedItem : Object 当前选中的单元格数据源。 List selectEnable : Boolean = false指定是否可以选择,若值为true则可以选择,否...
来源: laya_api 发布时间: 20170929
...: KeyframeNode2D Defined in laya/components/KeyframeNodeList2D.ts:19 通过索引获取节点。 Parameters index: number 索引。 Returns KeyframeNode2D 节点。 setNodeByIndex setNodeByIndex(index: number, node: KeyframeNode2D): void Defined in laya/components/KeyframeNodeList2D.ts:28 通过索...
来源: Laya3.0_api 发布时间: 20231115
经验分享:如何控制龙骨动画的播放索引! package { import laya.ani.bone.Skeleton; import laya.ani.bone.Templet; import laya.events.Event; import laya.webgl.WebGL; public class DragonDemo { private var mFactory:Templet; private var mArmature:Skeleton; private var index:int;//帧频 ...
来源: Laya_社区 发布时间: 20170509
...addChildAt(node:Node, index:int):Node[override] 添加子节点到指定的索引位置。 Sprite3D addChildren(... args):void 批量增加子节点 Node addComponent(type:*):Component3D 添加指定类型组件。 Sprite3D clearTimer(caller:*, method:Function):void 清理定时器。功能同L...
来源: laya_api 发布时间: 20170929
...,0点位置不变。 Sprite selectedIndex : int 表示当前选择的项索引。selectedIndex值更改会引起list重新渲染 List selectedItem : Object 当前选中的单元格数据源。 List selectEnable : Boolean = false指定是否可以选择,若值为true则可以选择,否...
来源: Laya2.0_api 发布时间: 20190513
... Node addChildAt(node:Node, index:int):Node 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node addComponent(type:Class):* 添加组件。 Node addComponentIntance(comp:Component):* 添加组件实例。 Node addInputChild(node:Node):N...
来源: Laya2.0_api 发布时间: 20190513
...ned in laya/d3/core/particleShuriKen/module/GradientDataNumber.ts:48 通过索引获取键。 Parameters index: number 索引。 Returns number value 键。 getValueByIndex getValueByIndex(index: number): number Defined in laya/d3/core/particleShuriKen/module/GradientDataNumber.ts:57 通过索引获...
来源: Laya3.0_api 发布时间: 20231115