コード例 #1
0
ファイル: PointLine.cs プロジェクト: igorurr/vicos
 public PointLine(
     GradientPointType _type,
     float _position
     )
 {
     sfType     = _type;
     sfPosition = Mathf.Clamp01(_position);
 }
コード例 #2
0
ファイル: PointLine.cs プロジェクト: igorurr/vicos
 public PointLine(
     GradientPointType _type,
     float _position,
     Color _color
     )
 {
     sfType     = _type;
     sfPosition = Mathf.Clamp01(_position);
     sfColor    = _color;
 }