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