HandleUtility.WorldToGUIPoint

Declaration

public static Vector2 WorldToGUIPoint(Vector3 world);

Parameters

world Point in world space.

Description

Convert a world space point to a 2D GUI position.

Uses the current camera to calculate the projection.

Additional resources: GUIPointToWorldRay, RaySnap.


Did you find this page useful? Please give it a rating: