Version: 2022.3
言語: 日本語
public static Vector3 WorldToGUIPointWithDepth (Vector3 world);

パラメーター

world ワールド空間のポイント

戻り値

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.

現在のカメラを使用してプロジェクションを計算します。

See Also: WorldToGUIPoint. GUIPointToWorldRay, RaySnap.