Navigation
Unreal Engine C++ API Reference > Plugins > ModelingOperators > CompositionOps
Inheritance Hierarchy
- FDynamicMeshOperator
- FCubeGridBooleanOp
References
Module | ModelingOperators |
Header | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingOperators/Public/CompositionOps/CubeGridBooleanOp.h |
Include | #include "CompositionOps/CubeGridBooleanOp.h" |
Syntax
class FCubeGridBooleanOp : public UE::Geometry::FDynamicMeshOperator
Remarks
Operator meant to be used with UCubeGridTool that adds or subtracts a box to/from an input mesh, with options to weld the box's corners to make ramps/corners
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
bool | bCrosswiseDiagonal | Only relevant when CornerInfo is used. |
![]() |
bool | bKeepInputTransform | When true, mesh is constructed such that ResultTransform is InputTransform. |
![]() |
bool | bSubtract | Determines whether the box is added or subtracted from the mesh. |
![]() |
bool | bTrackChangedTids | |
![]() |
bool | bWorldSpaceUVs | |
![]() |
TSharedPtr< TArray< int32 >, ESPMode::ThreadSafe > | ChangedTids | Will be reset to a container storing tids whose positions or connectivity changed. |
![]() |
TSharedPtr< FCornerInfo > | CornerInfo | |
![]() |
TArray< int32, TFixedAllocator< 6 > > | FaceUVOrientations | For each face of the op box (indexed as in IndexUtil::BoxFaces), determines the orientation in which the UV's should be assigned, which can be imagined as number of counterclockwise rotations of the face in the UV plane while keeping the corner labels the same. |
![]() |
TSharedPtr< const FDynamicMesh3, ESPMode::ThreadSafe > | InputMesh | The mesh to add to or subtract from. |
![]() |
FTransformSRT3d | InputTransform | |
![]() |
double | OpMeshHeightUVOffset | When setting UV's on the box, the component affected by height is adjusted by this offset. |
![]() |
int32 | OpMeshMaterialID | The material ID to give to triangles in the operator mesh. |
![]() |
TArray< int32, TFixedAllocator< 4 > > | OpMeshSideGroups | Both Input and Output: When not set to InvalidID, these will control the setting of the side groups in the operator mesh. |
![]() |
float | UVScale | |
![]() |
FOrientedBox3d | WorldBox | Box from which to generate the second mesh. |
Destructors
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
Overridden from FDynamicMeshOperator
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | CalculateResult
(
FProgressCancel* Progress |
Calculate the result of the operator. This will populate the internal Mesh and Transform. |
Classes
Type | Name | Description | |
---|---|---|---|
![]() |
FCornerInfo | Optional: information to weld corners along the Z axis to create ramps/pyramids/pyramid cutaways. |