Rename RayCast's cast_to property to target_position
`cast_to` is sometimes mistaken as a method rather than a property. `target_position` makes it more obvious that it's a property.
This commit is contained in:
parent
6247f60c15
commit
a706c22db7
7 changed files with 35 additions and 35 deletions
|
|
@ -1912,7 +1912,7 @@ void RayCast3DGizmoPlugin::redraw(EditorNode3DGizmo *p_gizmo) {
|
|||
Vector<Vector3> lines;
|
||||
|
||||
lines.push_back(Vector3());
|
||||
lines.push_back(raycast->get_cast_to());
|
||||
lines.push_back(raycast->get_target_position());
|
||||
|
||||
const Ref<StandardMaterial3D> material =
|
||||
get_material(raycast->is_enabled() ? "shape_material" : "shape_material_disabled", p_gizmo);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue