Click or drag to resize

CameraProjectLocalRayNormal Method

Returns a normal vector from the screen point location directed along the camera. Orthogonal cameras are normalized. Perspective cameras account for perspective, screen width/height, etc.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public Vector3 ProjectLocalRayNormal(
	Vector2 screenPoint
)

Parameters

screenPoint
Type: GodotVector2

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

Return Value

Type: Vector3

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

See Also