port from perforce
This commit is contained in:
22
hgplus/bliss/Tweaky/RangeAttribute.cs
Normal file
22
hgplus/bliss/Tweaky/RangeAttribute.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Tweaky
|
||||
{
|
||||
public class RangeAttribute : Attribute
|
||||
{
|
||||
public RangeAttribute(float minimum, float maximum, float stepHint)
|
||||
{
|
||||
this.Minimum = minimum;
|
||||
this.Maximum = maximum;
|
||||
this.StepHint = stepHint;
|
||||
}
|
||||
|
||||
public float Minimum { get; private set; }
|
||||
public float Maximum { get; private set; }
|
||||
public float StepHint { get; private set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user