大约有 926 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0066 秒)
...还未发送时为 null只读。 responseType XMLHttpRequestResponseType 设置该值能够改变响应类型。就是告诉服务器你期望的响应格式。 status unsigned short 该请求的响应状态码 (例如,状态码200 表示一个成功的请求).只读 statusText DOMString 该请求...
来源: Laya3.0_文档 发布时间: 20250104
... 在F9的UI模式选项,以及项目管理器,右击每一个UI页面设置默认属性时的导出类型选项,都可以看到内嵌模式、加载模式、分离模式,三个选项。  **默认是内嵌模式**,这种模式下,导出UI的页面时,会将配置信息...
来源: Laya2.0_文档 发布时间: 20210715
...用),官方的bug在于 workLines这个方法中 i没有初始化,要设置一下i=0 这样问题就解决了。 workLines(wordList, g, recList) { var cssStyle = this.style; var hasLine; hasLine = cssStyle.textDec...
来源: Laya_社区 发布时间: 20190611
...aCmd Inherited from Graphics.alpha Defined in laya/display/Graphics.ts:354 设置透明度。 Parameters alpha: number Returns AlphaCmd clear clear(recoverCmds?: boolean): void Inherited from Graphics.clear Defined in laya/display/Graphics.ts:94 清空绘制命令。 Parameters Default value recover...
来源: Laya3.0_api 发布时间: 20231115
...列表中。如果不使用参数,则使用列表的“项目资源”的设置;也可以指定一个URL,创建指定的对象。 getFromPool从池里取出(如果有)或者新建一个对象。 returnToPool 将对象返回池里。 removeChildToPool 删除一个item,并将对象返回...
来源: Laya3.0_文档 发布时间: 20251128
... = [3,2,1]; // 敌机半径 this.radius = [15,30,70]; // 初始化引擎,设置舞台大小 Laya.init(400,852); // 创建循环滚动的悲剧 this.bg = new BackGround(); // 把背景添加到舞台 Laya.stage.addChild(this.bg); // 加载图集资源 Laya.loader.load("res/atlas/war.json",Laya.Hand...
来源: Laya_社区 发布时间: 20170525
...ysics.I.worldRoot=场景,然后移动场景即可 可以通过IDE-"项目设置" 开启物理辅助线显示,或者通过代码PhysicsDebugDraw.enable(); Hierarchy Component RigidBody Index Constructors constructor Properties _extra _singleton category group label mask owner runInEditor scriptPa...
来源: Laya3.0_api 发布时间: 20231115
...贴图缩放系数。 PBRSpecularMaterial renderMode : int[write-only] 设置渲染模式。 PBRSpecularMaterial renderQueue : int 所属渲染队列.BaseMaterial SHADERDEFINE_ALBEDOTEXTURE : int[static] PBRSpecularMaterial SHADERDEFINE_ALPHAPREMULTIPLY : int[static] PBRSpecularMaterial ...
来源: Laya2.0_api 发布时间: 20190513
...贴图缩放系数。 PBRStandardMaterial renderMode : int[write-only] 设置渲染模式。 PBRStandardMaterial renderQueue : int 所属渲染队列.BaseMaterial SHADERDEFINE_ALBEDOTEXTURE : int[static] PBRStandardMaterial SHADERDEFINE_ALPHAPREMULTIPLY : int[static] PBRStandardMaterial ...
来源: Laya2.0_api 发布时间: 20190513
...环节不做过多介绍。 //初始化3d画布 Laya3D.init(0, 0, true); //设置全屏 Laya.stage.scaleMode = Stage.SCALE_FULL; //显示统计数据 Stat.show(); //给舞台添加laya3d场景 var scene:Scene = Laya.stage.addChild(new Scene()) as Scene; //初始化照相机 var camera:Camera = scene...
来源: Laya_社区 发布时间: 20161223