CameraProjectRayOrigin Method |
Returns a 3D position in worldspace, that is the result of projecting a point on the Viewport rectangle by the camera projection. This is useful for casting rays in the form of (origin, normal) for object intersection or picking.
Namespace: Godot
public Vector3 ProjectRayOrigin( Vector2 screenPoint )
[Missing <param name="screenPoint"/> documentation for "M:Godot.Camera.ProjectRayOrigin(Godot.Vector2)"]
[Missing <returns> documentation for "M:Godot.Camera.ProjectRayOrigin(Godot.Vector2)"]