public GodotVector3 Snapped(GodotVector3 by)
 {
     return(new GodotVector3(GodotMathf.Stepify(x, by.x), GodotMathf.Stepify(y, by.y), GodotMathf.Stepify(z, by.z)));
 }
示例#2
0
 public GodotVector2 Snapped(GodotVector2 by)
 {
     return(new GodotVector2(GodotMathf.Stepify(x, by.x), GodotMathf.Stepify(y, by.y)));
 }