大约有 1,257 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0052 秒)
Laya_社区(437) Laya3.0_api(415) Laya2.0_api(164) laya_api(138) Laya2.0_文档(51) Laya3.0_文档(36) Laya2.0_示例(9) Laya_示例(7)
...te function onChange():void{ trace("list index= "+mDemoUi.m_list.scrollBar.value); mDemoUi.valueLab.text="滚动条位置value= "+mDemoUi.m_list.scrollBar.value; } 如上所示,给list组件创建了21个item,但是value始终是0到405,求解 如何获取list组件滑动条的值 附件 : --> ...
来源: Laya_社区 发布时间: 20171016
...uctors constructor Properties inTangent inWeight outTangent outWeight time value weightedMode defaultWeight Methods clone cloneTo Constructors constructor new Vector3Keyframe(weightMode?: boolean): Vector3Keyframe Overrides Keyframe.constructor Defined in laya/d3/core/Vector3Keyframe.ts:19 创建一...
来源: Laya3.0_api 发布时间: 20231115
...uctors constructor Properties inTangent inWeight outTangent outWeight time value weightedMode defaultWeight Methods clone cloneTo Constructors constructor new Vector4Keyframe(weightMode?: boolean): Vector4Keyframe Overrides Keyframe.constructor Defined in laya/d3/core/Vector4Keyframe.ts:20 创建一...
来源: Laya3.0_api 发布时间: 20231115
...uctors constructor Properties inTangent inWeight outTangent outWeight time value weightedMode defaultWeight Methods clone cloneTo Constructors constructor new Vector2Keyframe(weightMode?: boolean): Vector2Keyframe Overrides Keyframe.constructor Defined in laya/d3/core/Vector2Keyframe.ts:20 创建一...
来源: Laya3.0_api 发布时间: 20231115
...覆盖。 Accessors avatarMask get avatarMask(): AvatarMask set avatarMask(value: AvatarMask): void Defined in laya/d3/component/AnimatorControllerLayer.ts:80 骨骼遮罩 Returns AvatarMask Defined in laya/d3/component/AnimatorControllerLayer.ts:84 骨骼遮罩 Parameters value: AvatarMask Returns ...
来源: Laya3.0_api 发布时间: 20231102
...add/num6.fnt","res/fontadd/num+.fnt"]); private setDataByTextureList(value:string, urls:string[]){ for(var i=0;i<urls.length;i++){ var bitmapFont: BitmapFont = new BitmapFont(); var url=urls[i]; bitmapFont.loadFont(url, new Handler(this, this.onFontLoaded, [bitmapFont,value])); } private on...
来源: Laya_社区 发布时间: 20190705
...dMeshSprite3D.ts:61 创建一个 MeshSprite3D 实例。 Parameters Default value mesh: Mesh = null 网格,同时会加载网格所用默认材质。 Default value name: string = null 名字。 Returns SimpleSkinnedMeshSprite3D Properties Optional _extra _extra: INodeExtra Inherited from Node._extra ...
来源: Laya3.0_api 发布时间: 20231115
...)。 UIComponent changeHandler : Handler滚动变化时回调,回传value参数。ScrollBar customRenderEnable : Boolean[write-only] 设置是否开启自定义渲染,只有开启自定义渲染,才能使用customRender函数渲染。 Sprite dataSource : *[override] 数据赋值,通...
来源: Laya2.0_api 发布时间: 20190513
...a/d3/core/Sprite3D.ts:31 Accessors active get active(): boolean set active(value: boolean): void Inherited from Node.active Defined in laya/display/Node.ts:655 获取自身是否激活。 Returns boolean 自身是否激活。 Inherited from Node.active Defined in laya/display/Node.ts:663 设置是...
来源: Laya3.0_api 发布时间: 20231115
...方添加相应的报错信息: //"for each" err,must add{} for each(var value:Object in obj) trace(value.key); } 兼容H5写法:public function ForEachDemo() { var obj:Object = [{key: 1}, {key: 2}]; for each (var value:Object in obj) { trace(value.key); } } 2015-11-18 0 0 分享 微博 QZONE ...
来源: Laya_社区 发布时间: 20151118