Version: 2020.3
언어: 한국어

HandleUtility.WorldToGUIPointWithDepth

매뉴얼로 전환
public static Vector3 WorldToGUIPointWithDepth (Vector3 world);

파라미터

world Point in world space.

반환

Vector3 A Vector3 where the x and y values relate to the 2D GUI position. The z value is the distance in world units from the camera.

설명

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

Uses the current camera to calculate the projection.

See Also: WorldToGUIPoint. GUIPointToWorldRay, RaySnap.