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

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

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

332. 字节平台(抖音预览调试),因为一行代码导致无法启动问题 [ 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

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

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

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

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

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

338. 怎么获取手机相册内容 [ 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

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

340. [LayaAir2]iOS设备,抖音app报错 requestAnimationFrame [ 66%]

...音app报错 requestAnimationFrame 使用的Layaair引擎2.13.1    [TMG] Object {message: "at requestAnimationFrame ... message: "at requestAnimationFrame callback err1" name: "USER_RUNTIME_ERROR" stack: "construct@[native code] at f(helium.js:4:269) at ?(helium.js:4:865) at ?(helium.js:6:1578) " ...

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