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

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

181. [LayaAir 2.0]Laya版本管理bug [ 72%]

...本管理bug  两次打的包,执行文件的js已经变化了,但是索引的文件index.js名字确是一样的,所以打包出来的bundlejs永远会先读取缓存,而不是读取新的版本,因为index.js同名,所以直接会读取被缓存的版本,然后索引到的还是旧...

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

182. laya.display.FrameAnimation [ 72%]

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

来源: laya_api 发布时间: 20170929

183. laya.ui.Tree [ 72%]

...,0点位置不变。 Sprite  selectedIndex : int 表示当前选择的项索引。 Tree  selectedItem : Object 当前选中的项对象的数据源。 Tree  selectedPath : String[read-only] 表示选择的树节点项的path属性值。 Tree skewX : Number水平倾斜角度,默认值为0。...

来源: laya_api 发布时间: 20170929

184. laya.ani.AnimationPlayer [ 72%]

...tionPlayer  currentAnimationClipIndex : int[read-only] 获取当前动画索引 AnimationPlayer  currentFrameTime : Number[read-only] 获取当前帧时间,不包括重播时间 AnimationPlayer  currentKeyframeIndex : int[read-only] 获取当前帧数 AnimationPlayer  currentPlayTime : Num...

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

185. laya.d3.shader.ShaderVariantCollection_API3.0 [ 72%]

...aderVariant Defined in laya/d3/shader/ShaderVariantCollection.ts:198 通过索引获取着色器变种。 Parameters index: number 索引。 Returns ShaderVariant 着色器变种。 remove remove(variant: ShaderVariant): boolean Defined in laya/d3/shader/ShaderVariantCollection.ts:171 移除着色...

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

186. UI-Tab [ 72%]

...urn tab; } function onSelect(index) { console.log("当前选择的标签页索引为 " + index); } })();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", ".....

来源: Laya_示例 发布时间: 20251209

187. laya.d3.resource.models.SubMesh_API3.0 [ 72%]

...ndexCount(): number Defined in laya/d3/resource/models/SubMesh.ts:48 获取索引数量。 Returns number indexFormat get indexFormat(): IndexFormat set indexFormat(value: IndexFormat): void Inherited from GeometryElement.indexFormat Defined in laya/d3/core/GeometryElement.ts:77 Returns IndexFormat ...

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

188. laya.ui.List_API3.0 [ 72%]

... } private function onSelect(index:int):void { trace("当前选择的项目索引: index= ", index); } } } import laya.ui.Box; import laya.ui.Label; class Item extends Box { public function Item() { graphics.drawRect(0, 0, 100, 20,null, "#ff0000"); var label:Label = new Label(); label.text = "1000...

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

189. laya的animation如何每一帧的去获取回调 [ 72%]

...动timer及时器frameloop,在loop的回调里去获取ani正在播放的索引,针对索引做判断操作

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

190. laya.ui.Tree [ 72%]

...,0点位置不变。 Sprite  selectedIndex : int 表示当前选择的项索引。 Tree  selectedItem : Object 当前选中的项对象的数据源。 Tree  selectedPath : String[read-only] 表示选择的树节点项的path属性值。 Tree skewX : Number水平倾斜角度,默认值为0。...

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