Compare commits
3 Commits
80724c4f21
...
be2c385263
Author | SHA1 | Date |
---|---|---|
kayomn | be2c385263 | |
kayomn | fec1ac28b7 | |
kayomn | 038d5684a5 |
BIN
editor.scn (Stored with Git LFS)
BIN
editor.scn (Stored with Git LFS)
Binary file not shown.
|
@ -192,8 +192,11 @@ func get_select_mode() -> int:
|
|||
return self._select_mode
|
||||
|
||||
##
|
||||
## 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].
|
||||
## 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.
|
||||
##
|
||||
func screen_to_plane(screen_point: Vector2):
|
||||
if self._camera != null:
|
||||
|
|
Loading…
Reference in New Issue