Beispiel #1
0
 public static int set_lightProbeUsage_wrap(long L)
 {
     try
     {
         long nThisPtr            = FCLibHelper.fc_get_inport_obj_ptr(L);
         UnityEngine.Renderer ret = get_obj(nThisPtr);
         UnityEngine.Rendering.LightProbeUsage arg0 = (UnityEngine.Rendering.LightProbeUsage)(FCLibHelper.fc_get_int(L, 0));
         ret.lightProbeUsage = arg0;
     }
     catch (Exception e)
     {
         Debug.LogException(e);
     }
     return(0);
 }
        public void Reset()
        {
            lightProbeProxyVolumeOverride = null;
            probeAnchor = null;
            motionVectorGenerationMode = MotionVectorGenerationMode.Object;
            reflectionProbeUsage       = ReflectionProbeUsage.BlendProbes;
            lightProbeUsage            = LightProbeUsage.BlendProbes;
            allowOcclusionWhenDynamic  = true;
            renderingLayerMask         = ~(uint)0;
            receiveGI = ReceiveGI.LightProbes;
#if UNITY_EDITOR
            lightmapParameters             = new UnityEditor.LightmapParameters();
            importantGI                    = false;
            optimizeUVs                    = false;
            ignoreNormalsForChartDetection = false;
            scaleInLightmap                = 1.0f;
            autoUVMaxDistance              = 0.5f;
            autoUVMaxAngle                 = 89;
            minimumChartSize               = 4;
            stitchLightmapSeams            = false;
#endif
        }