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

大约有 764 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0052 秒)

191. laya.d3.core.particleShuriKen.module.TextureSheetAnimation [ 72%]

...随机行,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

192. UI-Tab [ 71%]

...tab); return tab; } onSelect(index) { console.log("当前选择的标签页索引为 " + index); } } new UI_Tab();module laya { import Stage = Laya.Stage; import Tab = Laya.Tab; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class UI_Tab { private skins: Array = ["res/ui/tab1.png",...

来源: Laya2.0_示例 发布时间: 20251209

193. laya.display.FrameAnimation [ 71%]

...和UI的View组件默认为true。 Sprite index : int 动画当前帧的索引。 AnimationBase interval : int 动画播放的帧间隔时间(单位:毫秒)。默认值依赖于Config.animationInterval=50,通过Config.animationInterval可以修改默认帧间隔时间。 要想为某动画设...

来源: Laya2.0_api 发布时间: 20190513

194. laya.map.TiledMap_API3.0 [ 71%]

...yIndex(index: number): MapLayer Defined in laya/map/TiledMap.ts:1395 通过索引得MapLayer Parameters index: number 要找的层索引 Returns MapLayer getLayerByName getLayerByName(layerName: string): MapLayer Defined in laya/map/TiledMap.ts:1379 得到指定的MapLayer Parameters layerName: stri...

来源: Laya3.0_api 发布时间: 20231115

195. laya.ui.Tab [ 71%]

...0,0点位置不变。 Sprite selectedIndex : int 表示当前选择的项索引。默认值为-1。 UIGroup selectHandler : Handler 改变 Group 的选择项时执行的处理器,(默认返回参数: 项索引(index:int))。 UIGroup selection : ISelect 获取或设置当前选择的项对...

来源: laya_api 发布时间: 20170929

196. 使用getChildByName()无法得到子节点对象 [ 71%]

...      function onRender(cell,index){             //如果索引不再可索引范围,则终止该函数             if(index > json.length)return;             //获取当前渲染条目的数据             var data = json[index];      ...

来源: Laya_社区 发布时间: 20180717

197. laya.d3.webxr.core.WebXRInput_API3.0 [ 71%]

...3/WebXR/core/WebXRInput.ts:164 add axis event Parameters index: number axis索引 type: string 事件类型 caller: any 事件侦听函数的执行域。 listener: Function 事件侦听函数。 Returns void addButtonEvent addButtonEvent(index: number, type: string, caller: any, listener: Function):...

来源: Laya3.0_api 发布时间: 20231115

198. laya.display.EffectAnimation [ 71%]

...和UI的View组件默认为true。 Sprite index : int 动画当前帧的索引。 AnimationBase interval : int 动画播放的帧间隔时间(单位:毫秒)。默认值依赖于Config.animationInterval=50,通过Config.animationInterval可以修改默认帧间隔时间。 要想为某动画设...

来源: Laya2.0_api 发布时间: 20190513

199. laya.ui.RadioGroup [ 71%]

...0,0点位置不变。 Sprite selectedIndex : int 表示当前选择的项索引。默认值为-1。 UIGroup selectHandler : Handler 改变 Group 的选择项时执行的处理器,(默认返回参数: 项索引(index:int))。 UIGroup selection : ISelect 获取或设置当前选择的项对...

来源: laya_api 发布时间: 20170929

200. laya.d3.animation.AnimationNode_API3.0 [ 71%]

...ber): AnimationNode Defined in laya/d3/animation/AnimationNode.ts:68 根据索引获取子节点。 Parameters index: number 索引。 Returns AnimationNode getChildByName getChildByName(name: string): AnimationNode | null Defined in laya/d3/animation/AnimationNode.ts:55 根据名字获取子节点...

来源: Laya3.0_api 发布时间: 20231102