public PointLine( GradientPointType _type, float _position ) { sfType = _type; sfPosition = Mathf.Clamp01(_position); }
public PointLine( GradientPointType _type, float _position, Color _color ) { sfType = _type; sfPosition = Mathf.Clamp01(_position); sfColor = _color; }