大约有 33 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0032 秒)
.../** *获取裁剪空间的视口。 *@return 裁剪空间的视口。 */ __getset(0,__proto,'normalizedViewport',function(){ if (!this._viewportExpressedInClipSpace){ var vp=this._viewport; var size=this.renderTargetSize; var sizeW=size.width; var sizeH=size.height; this._normalizedViewport.x=vp.x /...
来源: Laya_社区 发布时间: 20170601
设置fontSize的时候没做类型转换 __getset(0,__proto,'fontSize',function(){ return this._fontSize; },function(value){ if (this._fontSize !=value){ this._fontSize=value; this.isChanged=true; } }); 如果设置fontSize="30",没有做类型转换,后面所有通过fontSize参与的加法...
来源: Laya_社区 发布时间: 20181204
...a.ui.js改成这样即可,去掉判断if (this._selectedIndex !=value) __getset(0,__proto,'selectedIndex',function(){ return this._selectedIndex; },function(value){ //if (this._selectedIndex !=value){ this._selectedIndex=value; this.changeSelectStatus(); this.event(/*laya.events.Event.CHANGE*/&quo...
来源: Laya_社区 发布时间: 20190305
...ject", MyTestSettingsType); } 配置创建后,UI进程可以通过Editor.getSettings访问配置数据,然后进行读写,例如: let data = Editor.getSettings("MyTestSettings").data; data.option2 = "hello"; 配置是自动载入和保存的,无需手动操作。 场景进程可以通过Ed...
来源: Laya3.0_文档 发布时间: 20251010
...了label",size:14},checkbox2:{selected:true,x:10}}; */ __getset(0,__proto,'dataSource',function(){ return this._dataSource; },function(value){ this._dataSource=value; for (var prop in this._dataSource){ ...
来源: Laya_社区 发布时间: 20190803
...) { let panel = IEditor.GUIUtils.createInspectorPanel(); let data = Editor.getSettings("SplitAtlasSetting").data; panel.inspect(data, "SplitAtlasSetting"); this.contentPane = panel; panel.on("click_start_gen", this.startGen, this); } protected onShown() { (this.contentPane as IEditor.InspectorPanel)...
来源: Laya_社区 发布时间: 20250702
...) { let panel = IEditor.GUIUtils.createInspectorPanel(); let data = Editor.getSettings("SplitAtlasSetting").data; panel.allowUndo = true; panel.inspect(data, "SplitAtlasSetting"); this.contentPane = panel; this.title = "图集分割工具"; } protected onShown() { (this.contentPane as IEditor.Inspec...
来源: Laya_社区 发布时间: 20250731
... • 2022-03-24 19:53 /** *获取唯一标识ID,通常用于识别。 */ __getset(0,__proto,'id',function(){ return String(this._$1__id); }); 158*****700 • 2022-03-24 19:53 目前我们先用这种方案调整,看后续游戏运行情况吧 158*****700 • 2022-03-24 15:40 1.8.1的版本 158****...
来源: Laya_社区 发布时间: 20220323
...。值越大,越靠上。默认为0,则根据添加顺序排序。*/ __getset(0,__proto,'zOrder',function(){ return this._zOrder; },function(value){ if (this._zOrder !=value){ if(this.name.length > 0){ console.debug("zOrder:"+this.name+" order:"+value); } this._zOrder=value; this.conchModel &...
来源: Laya_社区 发布时间: 20180412
...成这样即可,去掉判断if (this._selectedIndex !=value) __getset(0,__proto,'selectedIndex',function(){ return this._selectedIndex; },function(value){ //if (this._selectedIndex !=value){ this._selectedIndex=value; ...
来源: Laya_社区 发布时间: 20180507