大约有 7 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0030 秒)
... number): void { let intensity = 0; if (progress < 0.125) { intensity = 0.2; } else if (progress < 0.375) { const t = (progress - 0.125) / 0.25; intensity = 0.2 + t * 0.8; } else if (progress < 0.708) { intensity = 1.0; } else if (progress < 0.833) { const t = (progress - 0.708) / 0.125;...
来源: Laya3.0_文档 发布时间: 20251010
...Rate的N种等级的渲染。 例如当前视野与Volume的实际Rate为0.2, LOD Cull Rate Array中LOD2的等级为0.1, 所以当前视角的物体为渲染的LOD2的物体。 Copyright ©Layabox 2025 all right reserved,powered by LayaAir Engine更新时间: 2025-10-10 16:27:56 img{cursor:p...
来源: Laya3.0_文档 发布时间: 20251010
...omponent.color = new Laya.Color(1, 1, 1); directlithtComponent.intensity = 0.2; } // 配置背景 setBackground(): void { let mesh2Drender = this.background.getComponent(Laya.Mesh2DRender); mesh2Drender.sharedMesh = this.generateRectVerticesAndUV(1000, 1000); mesh2Drender.lightReceive = true; } // ...
来源: Laya3.0_文档 发布时间: 20251010
...跟随移动 this.layaMonkeyParent.transform.translate(new Laya.Vector3(-0.2, 0, 0); (动图3-2) 通过点击按钮,让子节点移动,可以看到父节点并没有移动 this.layaMonkeySon.transform.translate(new Laya.Vector3(-0.2, 0, 0); 四、克隆 关于克隆,LayaAir3D中提供了...
来源: Laya3.0_文档 发布时间: 20251010
...Cone(): void { //生成随机值半径和高 let raidius = Math.random() * 0.2 + 0.2; let height = Math.random() * 0.5 + 0.8; //创建圆锥形3D模型节点对象 let cone = new Laya.Sprite3D; let coneMesh = cone.addComponent(Laya.MeshFilter); let coneRender = cone.addComponent(Laya.MeshRenderer); ...
来源: Laya3.0_文档 发布时间: 20251010
...我们将球体(3D刚体)的滚动摩擦力从左至右分别设为0、0.2、0.3。斜坡(静态碰撞器)的滚动摩擦力设为0。效果如动图6-1所示, (动图6-1) 球体(3D刚体)的滚动摩擦力保持不变,斜坡(静态碰撞器)的滚动摩擦力设为0.1。效果...
来源: Laya3.0_文档 发布时间: 20251010
...我们将球体(3D刚体)的滚动摩擦力从左至右分别设为0、0.2、0.3。斜坡(静态碰撞器)的滚动摩擦力设为0。效果如动图1-20所示, (动图1-20) 球体的滚动摩擦力保持不变,斜坡(静态碰撞器)的滚动摩擦力设为0.1。效果如动图1-21...
来源: Laya3.0_文档 发布时间: 20251010