大约有 3 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0010 秒)
... 0, 0, 0, 0, 0, //G 0, 0, 0, 0, 0, //B 0, 0, 0, 1, 0, //A ]; //创建一个颜色滤镜对象,红色 var redFilter = new ColorFilter(redMat); // 赤化猩猩 var redApe = createApe(); redApe.filters = [redFilter]; var firstChild = Laya.stage.getChildAt(0); redApe.x = firstChild.x + apeTexture.width;...
来源: Laya_示例 发布时间: 20241117
...sform.rotate(new Laya.Vector3(-15, 0, 0), true, false); //3.清除照相机颜色 camera.clearColor = null; var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.direction = new Laya.Vector3(0, -0.8, -1); directionLight.color = new Laya.Vector3(0.7, 0.6, 0.6); var layaMonkey...
来源: Laya_示例 发布时间: 20241117
...Scene/Assets/PBR Barrel/Materials/Textures/Barrel_Occlusion.png'); //反射颜色 mat.albedoColor = new Laya.Vector4(1, 1, 1, 1); //光滑度缩放系数 mat.smoothnessTextureScale = 1.0; //遮挡贴图强度 mat.occlusionTextureStrength = 1.0; //法线贴图缩放洗漱 mat.normalScale = 1; //光...
来源: Laya_示例 发布时间: 20241117