大约有 300 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0067 秒)
...点id。 Returns any 节点对象。 Static getQueryString getQueryString(name: string): string Defined in laya/utils/Browser.ts:466 获得URL参数值 Parameters name: string 参数名称 Returns string 参数值 Static now now(): number Defined in laya/utils/Browser.ts:380 获取浏览器当前时...
来源: Laya3.0_api 发布时间: 20231115
...se);//设置 dialog 的关闭函数处理器。 } private function onClose(name:String):void { if (name == Dialog.CLOSE) { trace("通过点击 name 为" + name +"的组件,关闭了dialog。"); } } } } import laya.ui.Button; import laya.ui.Dialog; import laya.ui.Image; class Dialog_Instance extend...
来源: Laya3.0_api 发布时间: 20231115
...g, data:*, params:Array):void[override] private StandardMaterial setShaderName(name:String):void 设置使用Shader名字。 BaseMaterialProtected Methods Show Inherited Protected Methods Show Inherited Protected Methods MethodDefined By _addDisablePublicShaderDefine(value:int):void 增加禁用...
来源: laya_api 发布时间: 20170929
...port laya.ui.Label; class Item extends Box { public function Item() { this.name = "render"; this.right = 0; this.left = 0; var selectBox:Clip = new Clip("resource/ui/clip_selectBox.png", 1, 2); selectBox.name = "selectBox"; selectBox.height = 24; selectBox.x = 13; selectBox.y = 0; selectBox.left = 1...
来源: Laya3.0_api 发布时间: 20231115
... _cacheDepthTexture _extra _forward _scene _up _url clearFlag enableRender name tag useOcclusionCulling RENDERINGTYPE_DEFERREDLIGHTING RENDERINGTYPE_FORWARDRENDERING WORLDINVERTFRONT _contextScissorPortCatch Accessors active activeInHierarchy aspectRatio boundFrustum canblitDepth clearColor clientHe...
来源: Laya3.0_api 发布时间: 20231115
... _cacheDepthTexture _extra _forward _scene _up _url clearFlag enableRender name tag useOcclusionCulling RENDERINGTYPE_DEFERREDLIGHTING RENDERINGTYPE_FORWARDRENDERING WORLDINVERTFRONT _contextScissorPortCatch Accessors active activeInHierarchy aspectRatio boundFrustum canblitDepth clearColor componen...
来源: Laya3.0_api 发布时间: 20231115
...loadPage let loadPage = new LoadPage() loadPage.preload() this.getChildByName('text').on(Laya.Event.CLICK, this, function () { // 切换打开场景方式 查看效果不同 loadPage.openScene('page2.scene', this.getUserInfo, true, [1, 2, 3]) // loadPage.openScene2('page2.scene', this.getUserInfo, t...
来源: Laya_社区 发布时间: 20181124
... IEditor.GUIUtils.createInspectorPanel(); Editor.typeRegistry.addTypes([ { name : "MyPanelType", //请注意,名字是全局唯一的,一定要长 properties : [ { name : "text", type : "string" }, { name : "count" , type: "number" }, { name : "actions", inspector: "Buttons", options : { buttons...
来源: Laya3.0_文档 发布时间: 20251010
...] 获取是否为静态。 Sprite3D layer : int 获取蒙版。 Sprite3D name : String节点名称。Node nearPlane : Number 获取近裁面。 BaseCamera numChildren : int[read-only] 子对象数量。 Node orthographic : Boolean 获取是否正交投影矩阵。 BaseCamera orthographic...
来源: Laya2.0_api 发布时间: 20190513
...ing, complete:Handler):void[static] 加载材质。 BaseMaterial setShaderName(name:String):void 设置使用Shader名字。 BaseMaterialProtected Methods Show Inherited Protected Methods Show Inherited Protected Methods MethodDefined By _disposeResource():void[override] BaseMaterialPublic Consta...
来源: Laya2.0_api 发布时间: 20190513