Compare commits
No commits in common. "be2c3852638a30acbcf31c23234096da05d7bb12" and "80724c4f21419857d3859d5ba0ddd1dcc82ce3f2" have entirely different histories.
be2c385263
...
80724c4f21
BIN
editor.scn (Stored with Git LFS)
BIN
editor.scn (Stored with Git LFS)
Binary file not shown.
|
@ -192,11 +192,8 @@ func get_select_mode() -> int:
|
|||
return self._select_mode
|
||||
|
||||
##
|
||||
## Attempts to convert the screen coordinates in [code]screen_point[/code] into 2D worldspace
|
||||
## coordinate relative to an infinite ground plane at y offset [code]0.0[/code].
|
||||
##
|
||||
## Successful point intersection will return the plane coordinates in a [class Vector2], otherwise
|
||||
## [code]null[/code] is returned.
|
||||
## Converts and returns the screen coordinates in [code]screen_point[/code] into 2D worldspace
|
||||
## coordinates relative to an infinite ground plane at a y offset of [code]0.0[/code].
|
||||
##
|
||||
func screen_to_plane(screen_point: Vector2):
|
||||
if self._camera != null:
|
||||
|
|
Loading…
Reference in New Issue