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

大约有 919 项符合查询结果, 库内数据总量为 30,779 项。 (搜索耗时: 0.0047 秒)

771. UI-Tree [ 66%]

...te(): void { // 组装tree的数据 var treeData: string = ""; for (var i: number = 0; i "; for (var j: number = 0; j "; } treeData += ""; } treeData += ""; // 解析tree的数据 var xml:any = Utils.parseXMLFromString(treeData); var tree: Tree = new Tree(); tree.scrollBarSkin = "../../res/ui/vscrol...

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

772. UI-Tree [ 66%]

...te(): void { // 组装tree的数据 var treeData: string = ""; for (var i: number = 0; i "; for (var j: number = 0; j "; } treeData += ""; } treeData += ""; // 解析tree的数据 var xml:any = Utils.parseXMLFromString(treeData); var tree: Tree = new Tree(); tree.scrollBarSkin = "res/ui/vscroll.png"...

来源: Laya2.0_示例 发布时间: 20241119

773. laya.components.Script_API3.0 [ 66%]

...件。 Parameters value: boolean Returns void hideFlags get hideFlags(): number set hideFlags(value: number): void Inherited from Component.hideFlags Defined in laya/components/Component.ts:38 Returns number Inherited from Component.hideFlags Defined in laya/components/Component.ts:42 Parameters val...

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

774. 同步龙骨插槽动画方案 [ 66%]

...r;      constructor(url: string, handler: Laya.Handler, aniMode: number = 0) {         this._handler = handler;         this.mFactory = new Laya.Templet();         this.mFactory.on(Laya.Event.COMPLETE, this, this.parseComplete, [aniMode]);        ...

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

775. HTMLCanvas Laya.stage.addChild(HTMLCanvas); 挂载到舞台报错 [ 66%]

...        */         public function drawToCanvas(canvasWidth:Number, canvasHeight:Number, offsetX:Number, offsetY:Number):HTMLCanvas {             if (Render.isConchNode) {                 var canvas:HTMLCanvas = HTMLCanvas.create("2D");           ...

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

776. laya.utils.Stat_API3.0 [ 66%]

...rticle, Stat.toogle_msaa] Defined in laya/utils/Stat.ts:95 Static FPS FPS: number = 0 Defined in laya/utils/Stat.ts:102 每秒帧数。 Static RenderFuncToggle RenderFuncToggle: Array<StatToggleUIParams> = [Stat.toogle_Opaque, Stat.toogle_Transparent, Stat.toogle_CameraCMD, Stat.toogle_Skin, S...

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

777. 内存释放问题 [ 66%]

...eNames.length; i < len; i++) { muduleName = moduleNames[i]; let curMem: number = Laya.Stat.currentMemorySize// >> 20; console.log("curM:", curMem); path = bigao.Utils.StringTool.formatString(ResUIModuleManager.moduleResPath, muduleName); bigao.control.SkillControl.instance._skillView = null...

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

778. UI弹窗 · LayaAir3.0文档 · LAYABOX [ 66%]

...Class() export class UI_Dialog extends Laya.Script { private DIALOG_WIDTH: number = 220; private DIALOG_HEIGHT: number = 275; private CLOSE_BTN_WIDTH: number = 43; private CLOSE_BTN_PADDING: number = 5; private assets: any[]; private dialog: Laya.Dialog; constructor() { super(); } /** * 组件被激...

来源: Laya3.0_文档 发布时间: 20230303

779. laya.d3.renderobjs.renderobj.ShadowCullInfo_API3.0 [ 66%]

...es cullSphere direction position Properties cullPlaneCount cullPlaneCount: number Implementation of IShadowCullInfo.cullPlaneCount Defined in laya/d3/RenderObjs/RenderObj/ShadowCullInfo.ts:10 cullPlanes cullPlanes: Plane[] Implementation of IShadowCullInfo.cullPlanes Defined in laya/d3/RenderObjs/Re...

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

780. tree异步选中问题 [ 65%]

...ctedNodes; } else { this.listUI.typeTree.setItemState(this.selectedIndex + Number(item.dataSource.nodes), false); this.selectedIndex = index; } } this.selectedNodes = Number(item.dataSource.nodes); } else if (item.dataSource.isOpen == false) { this.selectedIndex = -1; this.selectedNodes = 0; } } } s...

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