大约有 615 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0065 秒)
Laya3.0_api(274) laya_api(104) Laya2.0_api(97) Laya_社区(76) Laya2.0_文档(39) Laya3.0_文档(16) Laya2.0_示例(5) Laya_示例(4)
...; // 设置播放间隔(单位:毫秒) ani.index = 1; // 当前播放索引 ani.play(); // 播放图集动画 // 获取动画的边界信息 var bounds:Rectangle = ani.getGraphicBounds(); trace(bounds); ani.pivot(bounds.width / 2, bounds.height / 2); ani.pos(Laya.stage.width / 2, Laya.stage.he...
来源: Laya_社区 发布时间: 20170628
...。 Node addChildAt(node:Node, index:int):Node 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node addComponent(type:Class):* 添加组件。 Node addComponentIntance(comp:Component):* 添加组件实例。 Node addInputChild(node:Node):NodeNode...
来源: Laya2.0_api 发布时间: 20190513
...; // 设置播放间隔(单位:毫秒) ani.index = 1; // 当前播放索引 ani.play(); // 播放图集动画 } } new GameMain(); 2017-03-29 1 0 分享 微博 QZONE 微信 fishkuro 赞同来自: 明白了,谢谢 2017-03-29 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折...
来源: Laya_社区 发布时间: 20170329
...。 Node addChildAt(node:Node, index:int):Node 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node addComponent(type:Class):* 添加组件。 Node addComponentIntance(comp:Component):* 添加组件实例。 Node addInputChild(node:Node):NodeNode...
来源: Laya2.0_api 发布时间: 20190513
...。 Node addChildAt(node:Node, index:int):Node 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node callLater(method:Function, args:Array = null):void 延迟运行指定的函数。 在控件被显示在屏幕之前调用,一般用于延迟计算...
来源: laya_api 发布时间: 20170929
...number = 5 Defined in laya/d3/graphics/Vertex/VertexMesh.ts:21 顶点骨骼索引数据 Static MESH_BLENDWEIGHT0 MESH_BLENDWEIGHT0: number = 6 Defined in laya/d3/graphics/Vertex/VertexMesh.ts:23 顶点骨骼权重数据 Static MESH_COLOR0 MESH_COLOR0: number = 1 Defined in laya/d3/graphics/Vertex/Ve...
来源: Laya3.0_api 发布时间: 20231102
...ce); } private onSelect(index: number): void { console.log("当前选择的索引:" + index); } } import Box = Laya.Box; import Image = Laya.Image; class Item extends Box { public static WID: number = 373; public static HEI: number = 85; private img: Image; constructor(){ super(); this.size(Item.W...
来源: Laya2.0_文档 发布时间: 20210715
...化时间,值在0.0~1.0之间。 Default value layerIndex: number = 0 层索引。 Default value normalizedTime: number = Number.NEGATIVE_INFINITY 归一化的播放起始时间。 Returns boolean destroy destroy(): void Inherited from Component.destroy Defined in laya/components/Component.ts:229 ...
来源: Laya3.0_api 发布时间: 20231115
...lect(index: number): void { console.log("当前选择的索引:" + index); console.log("目的是哪一关" + this.box_arr[index]); //被点击的节点 this.guaqia = this.box_arr[index]; let ge = new Game...
来源: Laya_社区 发布时间: 20210122
...ned By currentAnimationClipIndex : int[read-only] 获取播放器的动画索引。 KeyframeAnimations currentFrameIndex : int[read-only] 获取播放器帧数。 KeyframeAnimations destroyed : Boolean[read-only] 获取是否已销毁。 Component3D enable : Boolean 获取是否启用。 Compone...
来源: laya_api 发布时间: 20170603