大约有 3,603 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0086 秒)
Laya_社区(2675) Laya3.0_api(265) Laya2.0_文档(227) Laya2.0_api(113) laya_api(98) Laya3.0_文档(97) Laya_示例(83) Laya2.0_示例(45)
... EventDispatcher load(url:String, type:String = null, cache:Boolean = true, group:String = null, ignoreCache:Boolean = false):void 加载资源。加载错误会派发 Event.ERROR 事件,参数为错误信息。 Loader off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):Eve...
来源: laya_api 发布时间: 20170929
...。 textArea.font = "Arial";//设置 textArea 的字体。 textArea.bold = true;//设置 textArea 的文本显示为粗体。 textArea.fontSize = 20;//设置 textArea 的文本字体大小。 textArea.wordWrap = true;//设置 textArea 的文本自动换行。 textArea.x = 100;//设置 textArea 对...
来源: Laya3.0_api 发布时间: 20231115
... "适配模式("+Stage.SCALE_EXACTFIT+") "; txt.bold = true; txt.pos(10, 350); txt.fontSize = 60; txt.color = "#fff000"; Laya.stage.addChild(txt); } } } ``` ### 二、fix...
来源: Laya2.0_文档 发布时间: 20200307
...始化舞台的代码之前,加一行代码`“Laya.Config.isAntialias=true;”`开启锯齿消除设置,那么在手机端,就完全看不到锯齿了。当然,开启这个设置后是会增加性能的消耗。因此,建议游戏开发过程中尽可能少用矢量图形,即便使用...
来源: Laya2.0_文档 发布时间: 20210715
...createConchModel():*[override] BaseCamera destroy(destroyChild:Boolean = true):void[override] BaseCamera destroyChildren():void 销毁所有子对象,不销毁自己本身。 Node event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher frameLoop(delay:int, caller:*, method:Fu...
来源: laya_api 发布时间: 20170929
...Defined By getVertexDeclaration(vertexFlag:String, compatible:Boolean = true):VertexDeclaration[static] 获取顶点声明。 VertexMeshPublic Constants ConstantDefined By instanceMVPMatrixDeclaration : VertexDeclaration[static] VertexMesh instanceWorldMatrixDeclaration : VertexDeclaration...
来源: Laya2.0_api 发布时间: 20190513
...“和”`HTTP authentication schemes`“。除非`xhr.withCredentials`为`true`(`xhr`对象有一个属性叫`withCredentials`,默认值为`false`)。所以开发者假如遇到跨域发送不能携带cookie时候请参考这个。 ### 方法 #### abort() 如果请求已经被发送,则立刻...
来源: Laya2.0_文档 发布时间: 20210714
...Resource.lock Defined in laya/resource/Resource.ts:95 是否加锁,如果true为不能使用自动释放机制。 Optional name name: string Inherited from Resource.name Defined in laya/resource/Resource.ts:97 名称。 url url: string Inherited from Resource.url Defined in laya/resource/Resource....
来源: Laya3.0_api 发布时间: 20231102
如何设置3D场景舞台透明 Config.isAlpha = true; Laya3D.init(1920, 1080, true); Laya.stage.bgColor = "none";我是这样设置的,但是似乎没有效果。 2017-09-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交...
来源: Laya_社区 发布时间: 20170921
...默认为false,按钮点击后会直接恢复初始状态。勾选后为true,可以通过点击切换按钮显示状态,当点击按钮组件后,按钮会保持在选中(持续按下)状态,再次点击可以还原。 纹理状态 stateNum 按钮皮肤的状态数,支持单态(1)...
来源: Laya3.0_文档 发布时间: 20251010