예제 #1
0
 public T ClampPotentialValueX(T newValue) =>
 ScalarProperty <T> .Clamp(newValue, this.MinValueX, this.MaxValueX);
예제 #2
0
 public T ClampPotentialValueY(T newValue)
 {
     return(ScalarProperty <T> .Clamp(newValue, this.MinValueY, this.MaxValueY));
 }
예제 #3
0
 public T ClampPotentialValue(T newValue) =>
 ScalarProperty <T> .Clamp(newValue, this.minValue, this.maxValue);