Support “clear points” function in Path3D editor
This commit is contained in:
parent
5d08c2631c
commit
34eff85014
4 changed files with 72 additions and 1 deletions
|
|
@ -2029,6 +2029,10 @@ Vector3 Curve3D::get_closest_point(const Vector3 &p_to_point) const {
|
|||
return nearest;
|
||||
}
|
||||
|
||||
PackedVector3Array Curve3D::get_points() const {
|
||||
return _get_data()["points"];
|
||||
}
|
||||
|
||||
real_t Curve3D::get_closest_offset(const Vector3 &p_to_point) const {
|
||||
// Brute force method.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue