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

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

331. as版本引擎自带的Dictionary为什么不直接使用as的Dictionary类 [ 67%]

...:25 http://www.devthought.com/2012 ... hash/ http://www.2ality.com/2012/01/objects-as-maps.html http://ryanmorr.com/true-hash-maps-in-javascript/ Until then, or even after, you should look to bare objects for all your basic hash map needs.

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

332. layaair2-cmd安装报错 [ 67%]

...:690:17)     at require (internal/modules/cjs/helpers.js:25:18)     at Object.<anonymous> (E:\cyh5\code\gzlaya\testnew2\.laya\publish.js:25:15)     at Module._compile (internal/modules/cjs/loader.js:776:30)     at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10)  ...

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

333. 字节平台(抖音预览调试),因为一行代码导致无法启动问题 [ 67%]

...gt; GameUtils.deepCopy<any>(value)) as any } if (instance instanceof Object) { var copyInstance = {...(instance as { [key: string]: any }), } as { [key: string]: any } for (var attr in instance) { if ((instance as Object).hasOwnProperty(attr)) copyInstance[attr] = GameUtils.deepCopy<any>...

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

334. laya.resource.Resource [ 67%]

...laya.resourceClasspublic class ResourceInheritanceResource EventDispatcher ObjectImplements laya.resource.ICreateResource, laya.resource.IDisposeSubclasses AnimationTemplet, BaseMaterial, BaseMesh, BaseShader, BaseTexture, Buffer, Sky, TerrainHeightData, TerrainRes Resource 资源存取类。 Public...

来源: laya_api 发布时间: 20170422

335. laya.d3.core.Camera [ 67%]

...lic class CameraInheritanceCamera BaseCamera Sprite3D Node EventDispatcher Object Camera 类用于创建摄像机。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean...

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

336. laya.d3.physics.Rigidbody3D [ 67%]

...DInheritanceRigidbody3D PhysicsTriggerComponent PhysicsComponent Component Object Rigidbody3D 类用于创建刚体碰撞器。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By  angularDamping : Number 获取刚体的角阻力。 Rigidbody3D ...

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

337. laya.d3.core.light.PointLight [ 66%]

...eritancePointLight LightSprite Sprite3D ComponentNode Node EventDispatcher Object PointLight 类用于创建点光。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Sprite3D activeInHierarchy : Bo...

来源: laya_api 发布时间: 20170929

338. laya.d3.core.light.DirectionLight [ 66%]

...anceDirectionLight LightSprite Sprite3D ComponentNode Node EventDispatcher Object DirectionLight 类用于创建平行光。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Sprite3D activeInHierarc...

来源: laya_api 发布时间: 20170929

339. 怎么获取手机相册内容 [ 66%]

...对齐。达到位置一致,这里我们默认在0点位置; var file:Object = Browser.document.createElement("input"); //设置file的样式 file.style="filter:alpha(opacity=0);opacity:0;width: 150px;height:60px;"; file.type ="file";//设置类型是file类型。 file.accept="image/png";//设...

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

340. ts怎么调用input file弹框选择本地文件 [ 66%]

...           trace("111");             var fileReader:Object = new Browser.window.FileReader();             trace("上传点击");   Browser.document.getElementById('file').click();                        var file:Object = Browser.document.get...

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