MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / ConvertMouseToRay

Method ConvertMouseToRay

Source/Engine/Level/Actors/Camera.cpp:204–207  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

202}
203
204Ray Camera::ConvertMouseToRay(const Float2& mousePosition) const
205{
206 return ConvertMouseToRay(mousePosition, GetViewport());
207}
208
209Ray Camera::ConvertMouseToRay(const Float2& mousePosition, const Viewport& viewport) const
210{

Callers 1

DefaultCalculateRayMethod · 0.45

Calls 13

GetViewportFunction · 0.85
GetDirectionFunction · 0.85
GetOrientationFunction · 0.85
GetPositionFunction · 0.50
RayFunction · 0.50
TransformClass · 0.50
MultiplyFunction · 0.50
NormalizeFunction · 0.50
IsNaNMethod · 0.45
InvertMethod · 0.45
UnprojectMethod · 0.45
IsZeroMethod · 0.45

Tested by

no test coverage detected