public static ForIndex ( int index, string type, string Name ) : |
||
index | int | |
type | string | |
Name | string | |
return |
public static WeightedGroupItem ForIndex(int index, string type, string Name)
{
return new WeightedGroupItem {
Type = type,
Name = Name,
Weight = 1.0f - (index * 0.25f)
};
}