影の強さを設定する(Pro 版のみの機能)。
See Also: shadows, Renderer.castShadows, Renderer.receiveShadows.
// make light's shadows very faint light.shadowStrength = 0.3;
using UnityEngine; using System.Collections; public class ExampleClass : MonoBehaviour { void Example() { light.shadowStrength = 0.3F; } }
import UnityEngine import System.Collections public class ExampleClass(MonoBehaviour): def Example() as void: light.shadowStrength = 0.3F