Navigation
API > API/Plugins > API/Plugins/ModelingComponents > API/Plugins/ModelingComponents/FCameraRectangle
Description
Given a 3D point lying in the given Plane, return the UV coordinates of the point expressed in the following a two dimensional parameterization of the given Plane:
- the 2D origin (0,0) is located at the foot of the projection of cartesian point (0,0,0) onto the plane
- the U basis vector is the camera right vector
- the V basis vector is the camera up vector
| Name | Point3DToPointUV |
| Type | function |
| Header File | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/Mechanics/RectangleMarqueeMechanic.h |
| Include Path | #include "Mechanics/RectangleMarqueeMechanic.h" |
FVector2 Point3DToPointUV
(
const FPlane3 & Plane,
const FVector & Point3DInPlane
) const