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

大约有 2,911 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0079 秒)

441. laya.d3.physics.shape.ColliderShape [ 80%]

...derShape  needsCustomCollisionCallback : Boolean = falseColliderShape  type : int[read-only] 获取碰撞类型。 ColliderShapePublic Methods  MethodDefined By  ColliderShape() 创建一个新的 ColliderShape 实例。 ColliderShape  clone():* 克隆。 ColliderShape  cloneTo(destObject...

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

442. laya.display.Scene [ 80%]

...域的属性为:width、height、hitArea,优先级顺序为:hitArea(type:HitArea)>hitArea(type:Rectangle)>width/height。 Sprite mouseX : Number[read-only] 返回鼠标在此对象坐标系上的 X 轴坐标信息。 Sprite mouseY : Number[read-only] 返回鼠标在此对象坐标系...

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

443. laya.utils.Browser [ 80%]

...象的引用。BrowserPublic Methods  MethodDefined By  createElement(type:String):*[static] 创建浏览器原生节点。 Browser  getElementById(type:String):*[static] 返回 Document 对象中拥有指定 id 的第一个对象的引用。 Browser  now():Number[static] 获取浏览器当...

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

444. laya.utils.Pool_API3.0 [ 79%]

...>(cls: {}): T Defined in laya/utils/Pool.ts:69 根据类型创建对象 Type parameters T Parameters cls: {} 类型 Returns T Static getItem getItem(sign: string): any Defined in laya/utils/Pool.ts:111 根据传入的对象类型标识字符,获取对象池中已存储的此类型的一个对...

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

445. 打包后启动游戏后报错 [ 79%]

...都可以正常运行,打包后才会出现问题 public function send(type:String,url:String,callbackName:String):void { this.type = type; //发送请求 var script:* = Browser.createElement("script"); script.id = "serverlist"; Browser.document.head.appendChild(script); script.src = url; script.t...

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

446. laya.gltf.glTFUtils_API3.0 [ 79%]

...ties Static Extensions Extensions: {} Defined in laya/gltf/glTFUtils.ts:87 Type declaration [name: string]: Handler Static Extras Extras: {} Defined in laya/gltf/glTFUtils.ts:92 保存 extra 处理函数对象 Type declaration [name: string]: {} [name: string]: Handler Methods Static RegisterExtra R...

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

447. 浏览器接口 · LayaAir3.3 · 引擎文档 · LAYABOX [ 79%]

...点元素的使用方法: /** * 创建浏览器原生节点。 * @param type 节点类型。 * @return 创建的节点对象的引用。 */ static createElement(type: string): any { Browser.__init__(); return Browser._document.createElement(type); } /** * 返回 Document 对象中拥有指定 id ...

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

448. laya.d3.core.material.PBRSpecularMaterial_API3.0 [ 79%]

...ity emissionTexture enableEmission gpuMemory id materialRenderMode materialType normalTexture normalTextureScale obsolute occlusionTexture occlusionTextureStrength parallaxTexture parallaxTextureScale referenceCount renderMode shaderData smoothness smoothnessTextureScale specularColor specularTextur...

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

449. List修改datasource数据的时候出现部分数据不能被修改 [ 79%]

...,如下 修改 //加载数据完毕后触发这个方法 GameMain.prototype.onLoad = function () { this.mainUI = new MainUI(); dataSource = ; this.allData = ["深发展A", "南坡A", "铜陵有色", "丰林集团", "泰瑞科技", "贵绳股份", "华谊兄弟", "光洋股份", "南京港", "华...

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

450. wx.canvasToTempFilePath在TS下如何使用啊? [ 79%]

... console.log(res.tempFilePath) } }) 一直报错[ts] The 'this' context of type 'typeof wx' is not assignable to method's 'this' of type 'string'. canvasId也是我乱写的 如果才能正确获取小游戏当前画布的canvasId啊? 2018-11-28 添加评论 免费帖 --> 分享 微博 QZONE 微...

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