大约有 615 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0048 秒)
Laya3.0_api(274) laya_api(104) Laya2.0_api(97) Laya_社区(76) Laya2.0_文档(39) Laya3.0_文档(16) Laya2.0_示例(5) Laya_示例(4)
...随机行,type为1时有效。TextureSheetAnimation rowIndex : int行索引,type为1时有效。TextureSheetAnimation startFrame : StartFrame[read-only] 获取开始帧率。TextureSheetAnimation tiles : Vector2纹理平铺。TextureSheetAnimation type : int类型,0为whole sheet、1...
来源: Laya2.0_api 发布时间: 20190513
...达人 赞同来自: 获取ani.index即可,index就是动画当前帧的索引 2017-09-25 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 luo7954 相关问题 Animator 如何获取当前所有动画名称呢?或者所有的AnimationCl...
来源: Laya_社区 发布时间: 20170925
...ate: AnimatorState 动画状态。 Default value layerIndex: number = 0 层索引。 Returns void crossFade crossFade(name: string, transitionDuration: number, layerIndex?: number, normalizedTime?: number): void Defined in laya/d3/component/Animator.ts:1182 在当前动画状态和目标动画状态...
来源: Laya3.0_api 发布时间: 20231102
... * 播放动画。 * @param index 动画索引。 * @param playbackRate 播放速率。 * @param duration 播放时长(0为1次,Number.MAX_VALUE为循环播放)。 * @param playStart 播放的起始...
来源: Laya_社区 发布时间: 20170522
....addChildAt Defined in laya/display/Node.ts:264 添加子节点到指定的索引位置。 Parameters node: Node 节点对象。 index: number 索引位置。 Returns Node 返回添加的节点。 addChildren addChildren(...args: any[]): void Inherited from Node.addChildren Defined in laya/display/N...
来源: Laya3.0_api 发布时间: 20231115
... /** *得到tile自定义属性 *@param index 地图块索引 *@param id 具体的TileSetID *@param name 属性名称 *@return */ __proto.getTileProperties=function(index,id,name){ if (this._tileProperties[index] && t...
来源: Laya_社区 发布时间: 20190218
...addChildAt(node:Node, index:int):Node[override] 添加子节点到指定的索引位置。 BaseScene addChildren(... args):void 批量增加子节点 Node addFrustumCullingObject(renderObject:BaseRender):void BaseScene addRenderQuene():void 添加渲染队列。 BaseScene addShaderDefine(define:...
来源: laya_api 发布时间: 20170422
... list.cells[index]获取单元个,可是会cells中是可视单元格,索引会乱,点击后面的改变不了状态 2017-10-17 0 0 分享 微博 QZONE 微信 Monica - 知识达人 赞同来自: github 上有所有组件使用的 Demo 以及源码,你可以去看下 效果展示地址:http...
来源: Laya_社区 发布时间: 20171017
...fer3D _bind():voidBuffer bindWithIndexBuffer(ib:IndexBuffer3D):void 和索引缓冲一起绑定。 VertexBuffer3D getData():Float32Array 获取顶点数据。 VertexBuffer3D setData(data:Float32Array, bufferOffset:int = 0, dataStartIndex:int = 0, dataCount:uint = 4294967295):void 设置数...
来源: laya_api 发布时间: 20170929
...vertical(垂直排列)和horizontal(水平排列)两种 选中项索引 selectedIndex 选择索引,默认为-1。设置后,单选框会保持选中状态。索引数量会根据labels数量(单选框数量)动态改变 标签字体 labelFont 文本标签的字体 标签字体大小 l...
来源: Laya3.0_文档 发布时间: 20251016