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

Method Project

Source/Engine/Core/Math/Vector3.h:790–795  ·  view source on GitHub ↗

Projects a 3D vector from object space into screen space using the provided viewport and transformation matrix.

Source from the content-addressed store, hash-verified

788
789 // Projects a 3D vector from object space into screen space using the provided viewport and transformation matrix.
790 static Vector3Base Project(const Vector3Base& vector, float x, float y, float width, float height, float minZ, float maxZ, const Matrix& worldViewProjection)
791 {
792 Vector3Base result;
793 Project(vector, x, y, width, height, minZ, maxZ, worldViewProjection, result);
794 return result;
795 }
796
797 // Projects a 3D vector from screen space into object space using the provided viewport and transformation matrix.
798 static FLAXENGINE_API void Unproject(const Vector3Base& vector, float x, float y, float width, float height, float minZ, float maxZ, const Matrix& worldViewProjection, Vector3Base& result);

Callers

nothing calls this directly

Calls 1

ProjectClass · 0.85

Tested by

no test coverage detected