기술 자료

Unity Engine

Unity Engine

Tetrahedralize()

Synchronously tetrahedralize the currently loaded LightProbe positions.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public static void Tetrahedralize()

Remarks

Call this function to tetrahedralize the currently loaded LightProbe positions. You should generally only call this function upon receiving a LightProbes.needsRetetrahedralization event.
using UnityEngine;using UnityEngine.SceneManagement;public class TetrahedralizeExample : MonoBehaviour{ void Start() { // Additively load a Scene containing light probes SceneManager.LoadScene("ExampleScene", LoadSceneMode.Additive); // Force Unity to synchronously regenerate the tetrahedral tesselation for all loaded Scenes LightProbes.Tetrahedralize(); }}