diff options
author | Kyle Luce <razzlegames@gmail.com> | 2016-05-28 00:31:07 -0700 |
---|---|---|
committer | Kyle Luce <razzlegames@gmail.com> | 2016-07-10 16:06:57 -0700 |
commit | 605193b22fc61913d00b4ba4801c0283646b3a00 (patch) | |
tree | 52e73493b5b3f6dd57f4c3bd8ab6223fab2b1a3c /tools/editor/icons/icon_ray_shape_2d.png | |
parent | 864c0e84de9c2a2c5a030ec4ee167f3793e1e962 (diff) |
Conversion function for screen coords to local Canvas coords
- Useful if you need to Convert screen coords to the coordinate space of a
CanvasItem, but don't have an associated InputEvent to use in
#make_event_local.
For example, if you have a particular point on the screen you'd like to project
into World Space, for various reasons, you would use this function on the root
of the scene. This is analogous to ray casting from screen space in 3D.
Diffstat (limited to 'tools/editor/icons/icon_ray_shape_2d.png')
0 files changed, 0 insertions, 0 deletions