Navigation
API > API/Plugins > API/Plugins/ModelingComponents
Struct containing:
- camera information,
- a 3D plane just in front of the camera,
- a 2D basis for coordinates in this plane, and
- the vertices of a PolyLasso contained in this plane, in this 2D basis
| Name | FCameraPolyLasso |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/Mechanics/PolyLassoMarqueeMechanic.h |
| Include Path | #include "Mechanics/PolyLassoMarqueeMechanic.h" |
Syntax
struct FCameraPolyLasso
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Mechanics/PolyLassoMarqueeMechanic.h | |||
FCameraPolyLasso
(
const FViewCameraState& CachedCameraState |
Mechanics/PolyLassoMarqueeMechanic.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bCameraIsOrthographic | bool | Mechanics/PolyLassoMarqueeMechanic.h | ||
| CameraOrigin | FVector | Mechanics/PolyLassoMarqueeMechanic.h | ||
| CameraPlane | FPlane | Mechanics/PolyLassoMarqueeMechanic.h | ||
| Polyline | TArray< FVector2D > | Mechanics/PolyLassoMarqueeMechanic.h | ||
| UBasisVector | FVector | Mechanics/PolyLassoMarqueeMechanic.h | ||
| VBasisVector | FVector | Mechanics/PolyLassoMarqueeMechanic.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddPoint
(
const FRay& WorldRay |
Append a point to the PolyLasso polyine using a world-space ray | Mechanics/PolyLassoMarqueeMechanic.h | |
FVector2D GetProjectedPoint
(
const FVector& Point |
Project a world-space point into the same space as the 2D PolyLine | Mechanics/PolyLassoMarqueeMechanic.h | |
FVector2D PlaneCoordinates
(
const FVector& Point |
Mechanics/PolyLassoMarqueeMechanic.h |