示例#1
0
 public HDPunctualLightUnitSlider(LightUnitSliderUIDescriptor descriptor) : base(descriptor)
 {
 }
示例#2
0
 public LightUnitSlider(LightUnitSliderUIDescriptor descriptor)
 {
     m_Descriptor = descriptor;
 }
示例#3
0
        public ExponentialLightUnitSlider(LightUnitSliderUIDescriptor descriptor) : base(descriptor)
        {
            var halfValue = 300; // TODO: Compute the median

            PrepareExponentialConstraints(m_Descriptor.sliderRange.x, halfValue, m_Descriptor.sliderRange.y);
        }