Пример #1
0
 public FilteringSettings([DefaultValue("RenderQueueRange.all")] RenderQueueRange?renderQueueRange = null, int layerMask = ~0, uint renderingLayerMask = uint.MaxValue, int excludeMotionVectorObjects = 0) : this()
 {
     m_RenderQueueRange           = renderQueueRange ?? RenderQueueRange.all;
     m_LayerMask                  = layerMask;
     m_RenderingLayerMask         = renderingLayerMask;
     m_ExcludeMotionVectorObjects = excludeMotionVectorObjects;
     m_SortingLayerRange          = SortingLayerRange.all;
 }
 public FilteringSettings([DefaultValue("RenderQueueRange.all")] RenderQueueRange?renderQueueRange = null, int layerMask = -1, uint renderingLayerMask = 4294967295u, int excludeMotionVectorObjects = 0)
 {
     this = default(FilteringSettings);
     this.m_RenderQueueRange           = (renderQueueRange ?? RenderQueueRange.all);
     this.m_LayerMask                  = layerMask;
     this.m_RenderingLayerMask         = renderingLayerMask;
     this.m_ExcludeMotionVectorObjects = excludeMotionVectorObjects;
     this.m_SortingLayerRange          = SortingLayerRange.all;
 }