GetMaxValue() public static method

public static GetMaxValue ( FieldInfo field, float &maxValue ) : void
field System.Reflection.FieldInfo
maxValue float
return void
コード例 #1
0
 public IntSetting(int value, FieldInfo field, string group)
     : base(field, SettingType.Int, group)
 {
     Value = value;
     MinValueAttribute.GetMinValue(field, ref MinValue);
     MaxValueAttribute.GetMaxValue(field, ref MaxValue);
 }
コード例 #2
0
 public FloatSetting(float value, FieldInfo field, string group)
     : base(field, SettingType.Float, group)
 {
     Value = value;
     MinValueAttribute.GetMinValue(field, ref MinValue);
     MaxValueAttribute.GetMaxValue(field, ref MaxValue);
     StepSizeAttribute.GetStepSize(field, ref StepSize);
 }
コード例 #3
0
 public ColorSetting(Color value, FieldInfo field, string group)
     : base(field, SettingType.Color, group)
 {
     Value = value;
     HDR   = HDRAttribute.HDRColor(field);
     MinValueAttribute.GetMinValue(field, ref MinValue);
     MaxValueAttribute.GetMaxValue(field, ref MaxValue);
     StepSizeAttribute.GetStepSize(field, ref StepSize);
 }
コード例 #4
0
 public FloatSetting(float value, FieldInfo field, string group)
     : base(field, SettingType.Float, group)
 {
     Value = value;
     MinValueAttribute.GetMinValue(field, ref MinValue);
     MaxValueAttribute.GetMaxValue(field, ref MaxValue);
     StepSizeAttribute.GetStepSize(field, ref StepSize);
     ConvertMode     = ConversionModeAttribute.GetConversionMode(field);
     ConversionScale = ConversionScaleAttribute.GetConversionScale(field);
 }