Function Spatial.toLocal

Transforms global_point from world space to this node's local space.

Vector3 toLocal (
  const(Vector3) global_point
) nothrow @nogc const;