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

Method UnprojectPoint

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

Source from the content-addressed store, hash-verified

169}
170
171void Camera::UnprojectPoint(const Float2& gameWindowSpaceLocation, float depth, Vector3& worldSpaceLocation) const
172{
173 UnprojectPoint(gameWindowSpaceLocation, depth, worldSpaceLocation, GetViewport());
174}
175
176void Camera::UnprojectPoint(const Float2& cameraViewportSpaceLocation, float depth, Vector3& worldSpaceLocation, const Viewport& viewport) const
177{

Callers

nothing calls this directly

Calls 5

GetViewportFunction · 0.85
MultiplyFunction · 0.50
Vector3Class · 0.50
InvertMethod · 0.45
UnprojectMethod · 0.45

Tested by

no test coverage detected