Lightによって頂点が光るようになる。処理が軽くなる。
This option is good for background or distant lighting. See Also: light component.
// Set light's render mode to vertex-lit light.renderMode = LightRenderMode.ForceVertex;
using UnityEngine; using System.Collections; public class ExampleClass : MonoBehaviour { void Example() { light.renderMode = LightRenderMode.ForceVertex; } }
import UnityEngine import System.Collections public class ExampleClass(MonoBehaviour): def Example() as void: light.renderMode = LightRenderMode.ForceVertex