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

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

701. laya.d3.webxr.core.AxiGamepad_API3.0 [ 43%]

...s:12 轴设备名字 Static EVENT_OUTPUT EVENT_OUTPUT: string = "outputAxi_id" Defined in laya/d3/WebXR/core/WebXRGamepad.ts:8 Methods destroy destroy(): void Defined in laya/d3/WebXR/core/WebXRGamepad.ts:62 destroy Returns void event event(type: string, data?: any): boolean Inherited from EventDisp...

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

702. 加载prefab的代码编译失败,提示“Property 'transform' does not exist on type 'Node'” [ 43%]

...m' does not exist on type 'Node'.[39m at error (D:\Software\Develop\LayaAirIDE\resources\app\node_modules\rollup\dist\rollup.js:9402:30) at Object.error (D:\Software\Develop\LayaAirIDE\resources\app\node_modules\rollup\dist\rollup.js:15621:24) at Object.error (D:\Software\Develop\LayaAirIDE\resource...

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

703. laya.d3.core.BaseCamera [ 42%]

... Camera BaseCamera 类用于创建摄像机的父类。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node  clearCo...

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

704. Ts简单对象池 [ 42%]

...面 public InitPool(key:number,MeshSprite:Laya.MeshSprite3D){ //初始化id对应对象池, 第一次初始化则必须保证池中最少存在1个 if (this.m_ObjectPoolDic[key]){ console.log("初始化有误,该值已经有对应的 对象池了"); } else{ this.m_ObjectPoolDic[key]=new QueueT&l...

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

705. 在 list 的 box(render) 中添加 HTMLDivElemnt 组件 导致 IDE 卡死崩溃 IDE版本:2.12.0 [ 42%]

在 list 的 box(render) 中添加 HTMLDivElemnt 组件 导致 IDE 卡死崩溃 IDE版本:2.12.0 在 list 的 box(render) 中添加   HTMLDivElemnt 组件 导致 IDE性能 运行缓慢 , 在添加过多的 HTMLDivElemnt 组件后 IDE 会卡死崩溃  IDE版本:2.12.0   {     "x"...

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

706. 关于适配模式 Laya.Stage.SCALE_FIXED_AUTO [ 42%]

...,会有黑边),根据屏幕长宽比,自动选择使用SCALE_FIXED_WIDTH或SCALE_FIXED_HEIGHT*/   你想要的效果应该用exactfit   /**应用根据屏幕大小铺满全屏,非等比缩放会变型,stage的宽高等于设计宽高。*/         public static const SCALE_EXACTFI...

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

707. 3D中摄像机绕物体旋转该如何实现? [ 42%]

...ra; constructor() { super(); } public transform: Transform3D; onStart(): void { this.transform = (this.owner as Laya.Sprite3D).transform; this.CurrentAngles = new Vector3(-this.transform.rotationEuler.x, this.transform.rotationEuler.y, 0); this.targetAngles = new Vector3(-this.transform.rotationEule...

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

708. 官方案例里摄像机绕物体旋转脚本的问题 [ 41%]

...ra; constructor() { super(); } public transform: Transform3D; onStart(): void { this.transform = (this.owner as Laya.Sprite3D).transform; this.CurrentAngles = new Vector3(-this.transform.rotationEuler.x, this.transform.rotationEuler.y, 0); this.targetAngles = new Vector3(-this.transform.rotationEule...

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

709. 请问2.0中js怎么加天空盒子或穹顶,官网例子运行报错。 [ 41%]

...o : 0 _bits : 150 _boundFrustum : BoundFrustum _canvasHeight : 750 _canvasWidth : 1334 _children : Array(0) _components : Array(1) _conchData : null _farPlane : 100 _fieldOfView : 60 _id : 1 _isStatic : false _layer : 0 _nearPlane : 0.1 _needProcessCollisions : false _needProcessTriggers : false _no...

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

710. 缓存工具-layadcc · LayaAir3.3 · 引擎文档 · LAYABOX [ 41%]

...2.2 混淆资源2.3 资源服务器URL2.4 热更新(DCC)三、在LayaAir-IDE中使用3.1 构建单机版APP3.2 使用DCC更新流程四、通过代码的使用方法4.1 生成DCC4.2 使用dcc4.3 native端使用dcc4.4 集中更新所有资源,避免边运行边下载4.5 使用zip更新4.6 清理本...

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