Esempio n. 1
0
        internal ReflectionProbeCullResults(ReflectionSystemParameters parameters)
        {
            Assert.IsTrue(parameters.maxPlanarReflectionProbePerCamera >= 0, "Maximum number of planar reflection probe must be positive");

            visiblePlanarReflectionProbeCount = 0;

            m_PlanarReflectionProbeIndices  = new int[parameters.maxPlanarReflectionProbePerCamera];
            m_VisiblePlanarReflectionProbes = new PlanarReflectionProbe[parameters.maxPlanarReflectionProbePerCamera];
        }
Esempio n. 2
0
 public static void SetParameters(ReflectionSystemParameters parameters)
 {
     s_Instance = new ReflectionSystemInternal(parameters, s_Instance);
 }