大约有 1,257 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0093 秒)
Laya_社区(437) Laya3.0_api(415) Laya2.0_api(164) laya_api(138) Laya2.0_文档(51) Laya3.0_文档(36) Laya2.0_示例(9) Laya_示例(7)
...hange); Laya.stage.addChild(progressBar); Laya.timer.loop(100, this, changeValue); } function changeValue() { if (progressBar.value >= 1) progressBar.value = 0; progressBar.value += 0.05; } function onChange(value) { console.log("进度:" + Math.floor(value * 100) + "%"); } })();module laya { impo...
来源: Laya_示例 发布时间: 20251130
...orts.cpp中封装了几个简单的函数,可供参考。 int参数 jsvm_value jsAdd(jsvm_env env, jsvm_callback_info info) { jsvm_status status; size_t argc = 2; jsvm_value args[2]; jsvm_value _this; jsvm_get_cb_info(env, info, &argc, args, &_this, nullptr); int int1,int2; jsvm_get_value_...
来源: Laya3.0_文档 发布时间: 20251010
...位置值。 hSlider.max = 10;//设置 hSlider 最高位置值。 hSlider.value = 2;//设置 hSlider 当前位置值。 hSlider.tick = 1;//设置 hSlider 刻度值。 hSlider.x = 100;//设置 hSlider 对象的属性 x 的值,用于控制 hSlider 对象的显示位置。 hSlider.y = 100;//设置 hS...
来源: Laya3.0_api 发布时间: 20231115
...位置值。 vSlider.max = 10;//设置 vSlider 最高位置值。 vSlider.value = 2;//设置 vSlider 当前位置值。 vSlider.tick = 1;//设置 vSlider 刻度值。 vSlider.x = 100;//设置 vSlider 对象的属性 x 的值,用于控制 vSlider 对象的显示位置。 vSlider.y = 100;//设置 vS...
来源: Laya3.0_api 发布时间: 20231115
...exture thumbPercent tick timer toolTip top touchScrollEnable transform url value viewport visible width x y zOrder Methods _initialize _processActive _setSkin addChild addChildAt addChildren addComponent addComponentInstance backToNormal bubbleEvent callLater clearTimer contains customRender destroy...
来源: Laya3.0_api 发布时间: 20231115
...IComponent.ts:24 创建一个新的 Component 实例。 Parameters Default value createChildren: boolean = true Returns VBox Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya/display/Node.ts:56 _ownGraphics _ownGraphics: boolean = false Inherited from Text._own...
来源: Laya3.0_api 发布时间: 20231115
在add panel 后设置 hScrollBar.value 没有用 在add panel 后设置 hScrollBar.value 没有用 是需要在什么事件后面设置吗? 2019-01-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Nevermore ...
来源: Laya_社区 发布时间: 20190108
...IComponent.ts:24 创建一个新的 Component 实例。 Parameters Default value createChildren: boolean = true Returns HBox Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya/display/Node.ts:56 _ownGraphics _ownGraphics: boolean = false Inherited from Text._own...
来源: Laya3.0_api 发布时间: 20231115
...play/Sprite.ts:534 Returns boolean 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
...IComponent.ts:24 创建一个新的 Component 实例。 Parameters Default value createChildren: boolean = true Returns LayoutBox Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya/display/Node.ts:56 _ownGraphics _ownGraphics: boolean = false Inherited from Text...
来源: Laya3.0_api 发布时间: 20231115