Class RasterizationRangeValidator
- Namespace
- FluffyUnderware.Curvy.Generator.Modules
Contains method used to validate the range of a rasterization
public static class RasterizationRangeValidator
- Inheritance
-
RasterizationRangeValidator
Methods
ValidateToValue(ref float, float, bool)
Makes sure the to value is in the range [from, 1] if path is open, or is in range [from, inf[ if path is closed
public static void ValidateToValue(ref float to, float from, bool isPathOpen)
Parameters
ValidatedFromValue(ref float)
Makes sure the from value is in the range [0, 1[
public static void ValidatedFromValue(ref float from)
Parameters
fromfloat