RenderSettings.ambientLight 环境光

static var ambientLight : Color

Description描述

Color of the scene's ambient light.

场景的环境光颜色。

// Make the ambient lighting red
//使环境光的颜色为红色

RenderSettings.ambientLight = Color.red;
Page last updated: 2011-3-15