大约有 2 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0015 秒)
...e.addChild(box); // 设置位置 box.transform.position = new Laya.Vector3(2.0, 0.25, 0.6); box.transform.rotate(new Laya.Vector3(0, 45, 0), false, false); /* 球体 */ let sphere = new Laya.Sprite3D; let sphereMesh = sphere.addComponent(Laya.MeshFilter); let sphereRender = sphere.addComponent(Laya....
来源: Laya3.0_文档 发布时间: 20251010
...htCom = pointLight.addComponent(Laya.PointLightCom); pointLightCom.range = 2.0 + Math.random() * 8.0; pointLightCom.color.setValue(Math.random(), Math.random(), Math.random(), 1); pointLightCom.intensity = 6.0 + Math.random() * 8; moverLights[i] = pointLight; offsets[i] = new Vector3((Math.random() ...
来源: Laya3.0_文档 发布时间: 20251010