Navigation
API > API/Plugins > API/Plugins/ModelingComponents > API/Plugins/ModelingComponents/Mechanics
References
| Module | ModelingComponents |
| Header | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/Mechanics/PolyLassoMarqueeMechanic.h |
| Include | #include "Mechanics/PolyLassoMarqueeMechanic.h" |
Syntax
struct FCameraPolyLasso
Remarks
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
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bCameraIsOrthographic | ||
| FVector | CameraOrigin | ||
| FPlane | CameraPlane | ||
| TArray< FVector2D > | Polyline | ||
| FVector | UBasisVector | ||
| FVector | VBasisVector |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FCameraPolyLasso
(
const FViewCameraState& CachedCameraState |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddPoint
(
const FRay& WorldRay |
Append a point to the PolyLasso polyine using a world-space ray | |
| FVector2D | GetProjectedPoint
(
const FVector& Point |
Project a world-space point into the same space as the 2D PolyLine | |
| FVector2D | PlaneCoordinates
(
const FVector& Point |