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

大约有 3,617 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0188 秒)

661. Node.prototype._activeHierarchy存在的bug或者说是onEnable和onAwake的坑 [ 74%]

...ripts){         this._setBit(/*laya.Const.ACTIVE_INHIERARCHY*/0x02,true);         if (this._components){             for (var i=0,n=this._components.length;i < n;i++){                 var comp=this._components[i];                 comp._s...

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

662. 事件绑定不触发bug [ 74%]

...去掉后可以正常触发(库内Sprite的autosize默认已经修改为true)           2016-11-28 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 cuixueying 赞同来自:   sprite精灵默认没有宽高...

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

663. laya.d3.core.Avatar_API3.0 [ 74%]

...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

664. laya.net.Loader [ 74%]

... 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

665. laya.ui.TextArea_API3.0 [ 74%]

...。 textArea.font = "Arial";//设置 textArea 的字体。 textArea.bold = true;//设置 textArea 的文本显示为粗体。 textArea.fontSize = 20;//设置 textArea 的文本字体大小。 textArea.wordWrap = true;//设置 textArea 的文本自动换行。 textArea.x = 100;//设置 textArea 对...

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

666. 屏幕适配的缩放模式详解(ActionScript-2D基础篇(AS3)-屏幕适配) [ 74%]

... "适配模式("+Stage.SCALE_EXACTFIT+") ";         txt.bold = true;         txt.pos(10, 350);         txt.fontSize = 60;         txt.color   = "#fff000";         Laya.stage.addChild(txt);         }            } } ``` ### 二、fix...

来源: Laya2.0_文档 发布时间: 20200307

667. laya.d3.core.VRCamera [ 73%]

...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

668. 消除矢量图绘制锯齿(ActionScript-LayaAir基础篇(AS3)-矢量图) [ 73%]

...始化舞台的代码之前,加一行代码`“Laya.Config.isAntialias=true;”`开启锯齿消除设置,那么在手机端,就完全看不到锯齿了。当然,开启这个设置后是会增加性能的消耗。因此,建议游戏开发过程中尽可能少用矢量图形,即便使用...

来源: Laya2.0_文档 发布时间: 20210715

669. laya.d3.graphics.Vertex.VertexMesh [ 73%]

...Defined By  getVertexDeclaration(vertexFlag:String, compatible:Boolean = true):VertexDeclaration[static] 获取顶点声明。 VertexMeshPublic Constants ConstantDefined By  instanceMVPMatrixDeclaration : VertexDeclaration[static] VertexMesh  instanceWorldMatrixDeclaration : VertexDeclaration...

来源: Laya2.0_api 发布时间: 20190513

670. HttpRequest详解(JavaScript-LayaAir基础篇(JS)-数据与通信) [ 73%]

...“和”`HTTP authentication schemes`“。除非`xhr.withCredentials`为`true`(`xhr`对象有一个属性叫`withCredentials`,默认值为`false`)。所以开发者假如遇到跨域发送不能携带cookie时候请参考这个。 ### 方法 #### abort() 如果请求已经被发送,则立刻...

来源: Laya2.0_文档 发布时间: 20210714