大约有 1,261 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0105 秒)
Laya_社区(438) Laya3.0_api(415) Laya2.0_api(164) laya_api(138) Laya2.0_文档(51) Laya3.0_文档(39) Laya2.0_示例(9) Laya_示例(7)
...ther (1) compile with -s TOTAL_MEMORY=X with X higher than the current value 16777216, (2) compile with -s ALLOW_MEMORY_GROWTH=1 which allows increasing the size at runtime but prevents some optimizations, (3) set Module.TOTAL_MEMORY to a higher value before the program runs, or (4) if you w...
来源: Laya_社区 发布时间: 20191028
...: //简单赋值,比如:progress:0.2,就是更改progress组件的value为2 //复杂复制,可以通知某个属性,比如:label:{color:"#ff0000",text:"Hello LayaAir"} this.box.dataSource = {slider: 50, scroll: 80, progress: 0.2, input: "This is a input", label: {color: "#ff0000", text...
来源: Laya_示例 发布时间: 20260303
...: //简单赋值,比如:progress:0.2,就是更改progress组件的value为2 //复杂复制,可以通知某个属性,比如:label:{color:"#ff0000",text:"Hello LayaAir"} this.box.dataSource = {slider: 50, scroll: 80, progress: 0.2, input: "This is a input", label: {color: "#ff0000", text...
来源: Laya2.0_示例 发布时间: 20200319
...umber = 1; public get id():number { return this._id } public set id(value:number){ this._id = vaule; } } class B extends A { public set id(value:number){ this._id = value + 1; } } class C extends A { public get id():number { return this._id } public set id(value:number...
来源: Laya_社区 发布时间: 20161109
...子. 好些地方的let变量都出问题了)function loadProgress(item, value) { if (progress != null) { item.progress = value; var num = 0; for (var j = 0; j < items.length; j++) { var item1 = items[j]; if (item1) { let prog = item1.progress == undefined ? 0 : item1.progress; num += item1.size ...
来源: Laya_社区 发布时间: 20200427
...J.ts:9 Accessors list get list(): SingletonList<BaseRender> set list(value: SingletonList<BaseRender>): void Defined in laya/d3/RenderObjs/RenderObj/SceneRenderManagerOBJ.ts:14 Returns SingletonList<BaseRender> Defined in laya/d3/RenderObjs/RenderObj/SceneRenderManagerOBJ.ts:18 Par...
来源: Laya3.0_api 发布时间: 20231115
...c function get currentTime():Number public function set currentTime(value:Number):voiddurationproperty duration:Number [read-only] 获取视频长度(秒)。ready事件触发后可用。 Implementation public function get duration():Numberendedproperty ended:Boolean [read-...
来源: Laya2.0_api 发布时间: 20190513
...xError: Cannot declare a let variable twice: 't'. Stack: (native code) at evaluateScriptFile (WAGame.js:1:83273) at value (WAGame.js:1:406593) at value (WAGame.js:1:405741) at (WAGame.js:1:411737) at (WAGame.js:1:411740) at s (WAGame.js:1:403825) at (WAGame.js:1:411633) at h (WAGame.js:1:2955)...
来源: Laya_社区 发布时间: 20191202
... public function get damping():Number public function set damping(value:Number):voidfrequencyproperty frequency:Number弹簧系统的震动频率,可以视为弹簧的弹性系数 Implementation public function get frequency():Number public function set frequency(value:Numb...
来源: Laya2.0_api 发布时间: 20190513
... public function get anchorX():Number public function set anchorX(value:Number):voidanchorYproperty anchorY:NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。 Implementation public function get anchorY():Number public function set anc...
来源: Laya2.0_api 发布时间: 20190513