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

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

131. 2D自由形态光 · LayaAir3.3 · 引擎文档 · LAYABOX [ 55%]

...rivate intensity: number = 1.8; // 定义灯光强度 onAwake(): void { // 获取 FreeformLight2D 组件 this.lightComp = this.owner.getComponent(Laya.FreeformLight2D); //灯光顶点通常建议是在IDE中可视化配置,这里是为了演示如何通过代码动态设置顶点数据,方便...

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

132. laya.d3.component.LODGroup_API3.0 [ 55%]

... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inhe...

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

133. laya.physics.joint.JointBase_API3.0 [ 55%]

... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inhe...

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

134. laya.d3.component.Script3D [ 55%]

...ited Public Properties PropertyDefined By destroyed : Boolean[read-only] 获取是否已经销毁 。 Component enabled : Boolean 获取是否启用组件。 Component id : int[read-only] 获取唯一标识ID。 Component  isSingleton : Boolean[override] [read-only] 获取是否为单实例组...

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

135. Java层调用ts ,可以把Java层参数传过去吗?怎么传? [ 55%]

...画,怎么分别调用?如图 2.0 drawTexture color参数无效 怎样获取浏览器地址传过来GET参数 laya支持批处理调用js压缩吗? 有没有克隆控件方法,prefab能否在代码上调用 laya2.0调用scene.gc方法,再次加载同一份资源时候,会导致gpu内...

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

136. 从Unity中编辑并导出摄像机(JavaScript-3D基础(JS)-LayaAir3D之Camera) [ 54%]

...th 深度。绘图顺序。 Target Texture 目标纹理。 ### 使用代码获取导出摄像机 ​ 那么,如果在unity中创建了摄像机并导出,在代码中加载导出文件后,我们怎么去获取摄像机呢?这可以通过场景子节点索引或名称来获取获取...

来源: Laya2.0_文档 发布时间: 20210714

137. laya.d3.core.MeshFilter_API3.0 [ 54%]

... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inhe...

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

138. 运行时网页黑屏,报错提示 [ 54%]

...GameManager.jsLoadSceneFin方法内,在制作拐弯墙预制体时,获取节点wallCurve未添加组件,错误给wall又添加了一次组件导致,将制作拐弯墙预制体wall.addComponent(Wall)改为wallCurve.addComponent(Wall);另外在GameManager.jsspawnCurveWall方...

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

139. laya.d3.physics.PhysicsComponent_API3.0 [ 54%]

... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inhe...

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

140. [LayaAirIDE3]2d寻路怎么添加碰撞体 [ 54%]

...和UI点击穿透问题 Laya2.6.0beta 物理引擎 刚体碰撞点位置获取不正确 3d 添加灯光 模型变黑呼呼 很多黑面 laya 3D碰撞器与 Unity 不一致问题 laya2.2 导出场景物理碰撞问题 图片添加点击事件 有不生效 关于2d碰撞检测 怎么讲lay...

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