mirror of
https://github.com/tiennm99/godot.git
synced 2026-08-05 08:22:59 +00:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user