Click or drag to resize

CameraProjectRayNormal Method

Returns a normal vector 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
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public Vector3 ProjectRayNormal(
	Vector2 screenPoint
)

Parameters

screenPoint
Type: GodotVector2

[Missing <param name="screenPoint"/> documentation for "M:Godot.Camera.ProjectRayNormal(Godot.Vector2)"]

Return Value

Type: Vector3

[Missing <returns> documentation for "M:Godot.Camera.ProjectRayNormal(Godot.Vector2)"]

See Also