Node2D.toLocal

Transforms the provided global position into a position in local coordinate space. The output will be local relative to the Node2D it is called on. e.g. It is appropriate for determining the positions of child nodes, but it is not appropriate for determining its own position relative to its parent.

struct Node2D
@nogc nothrow const
Vector2
toLocal
(
in Vector2 global_point
)

Meta