Navigation
API > API/Plugins > API/Plugins/MeshPartitionEditor
| Name | UBooleanModifier |
| Type | class |
| Header File | /Engine/Plugins/Experimental/MeshPartition/Source/MeshPartitionEditor/Public/Modifiers/MeshPartitionBooleanModifier.h |
| Include Path | #include "Modifiers/MeshPartitionBooleanModifier.h" |
Syntax
UCLASS (MinimalAPI, prioritizeCategories=("Modifier", "Mesh", "Boolean", "WeightChannels"),
Meta=(BlueprintSpawnableComponent, MegaMeshClassVersion="1"))
class UBooleanModifier : public UE::MeshPartition::UMeshBasedModifierBase
Inheritance Hierarchy
- FRenderAssetOwnerStreamingState → UPrimitiveComponent → UModifierComponent → UMeshBasedModifierBase → UBooleanModifier
- UObjectBase → UObjectBaseUtility → UObject → UActorComponent → USceneComponent → UPrimitiveComponent → UModifierComponent → UMeshBasedModifierBase → UBooleanModifier
Implements Interfaces
- IAsyncPhysicsStateProcessor
- IInterface_AssetUserData
- IInterface_AsyncCompilation
- INavRelevantInterface
- IPhysicsBodyInstanceOwner
- IPhysicsBodyInstanceOwnerResolver
- IPhysicsComponent
- IModifierBlueprintInterface
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UBooleanModifier() |
Modifiers/MeshPartitionBooleanModifier.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bDrawLocalBounds | bool | Modifiers/MeshPartitionBooleanModifier.h |
|
|
| bDrawWireMesh | bool | Modifiers/MeshPartitionBooleanModifier.h |
|
|
| bDrawWorldBounds | bool | Modifiers/MeshPartitionBooleanModifier.h |
|
|
| BooleanOp | MeshPartition::EBooleanOperation | Modifiers/MeshPartitionBooleanModifier.h |
|
|
| bSimplifierConstrainBoundary | bool | When simplifying, whether to try to preserve boundary edge flow. | Modifiers/MeshPartitionBooleanModifier.h |
|
| bSimplifierConstrainSeams | bool | When simplifying, whether to try to preserve various seam edge flows (UVs, normals, etc). | Modifiers/MeshPartitionBooleanModifier.h |
|
| bSimplifyAlongNewEdges | bool | Apply simplification of newly introduced edges at mesh boundaries. | Modifiers/MeshPartitionBooleanModifier.h |
|
| bWeldSharedEdges | bool | Whether to weld newly-created cut edges where the input meshes meet. | Modifiers/MeshPartitionBooleanModifier.h |
|
| DrawSolidMesh | EMegaMeshBooleanModifierPreviewVisOptions | Modifiers/MeshPartitionBooleanModifier.h |
|
|
| ExpandOperatorBounds | FVector3d | Amount to expand the global Boolean operation bounds beyond the tool mesh bounds. | Modifiers/MeshPartitionBooleanModifier.h |
|
| ExpandSectionInclusionBounds | FVector3d | Amount to expand the global bounds defining which sections the modifier may write to. | Modifiers/MeshPartitionBooleanModifier.h |
|
| InsideTargetMeshTestMethod | MeshPartition::EBooleanInsideTestMethod | Method to use for determining the inside of the target mesh. | Modifiers/MeshPartitionBooleanModifier.h | |
| meta | Winding number threshold to determine inside of the Target mesh, if the InsideTargetMeshTestMethod is WindingNumber | Modifiers/MeshPartitionBooleanModifier.h |
|
|
| PreOpSimplifierStrength | double | Strength of simplification to apply to the op mesh before using it in the boolean operation. | Modifiers/MeshPartitionBooleanModifier.h |
|
| ToolMeshEmbedding | MeshPartition::EBooleanToolMeshEmbedding | What to assume about the terrain/target mesh beyond the local operator bounds of the modifier. | Modifiers/MeshPartitionBooleanModifier.h |
|
| ToolPreviewComponent | TObjectPtr< UDynamicMeshComponent > | Modifiers/MeshPartitionBooleanModifier.h | ||
| ToolWindingThreshold | double | Winding number threshold to determine the inside of the tool mesh. | Modifiers/MeshPartitionBooleanModifier.h |
|
| WeightChannels | TArray< MeshPartition::FBooleanModifierWeightEntry > | Weight Channels to transfer from the tool mesh to the target mesh | Modifiers/MeshPartitionBooleanModifier.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const FVector3d & GetExpandOperatorBounds() |
Modifiers/MeshPartitionBooleanModifier.h | ||
void SetExpandOperatorBounds
(
const FVector3d& InExpandOperatorBounds |
MeshPartition::UBooleanModifier. | Modifiers/MeshPartitionBooleanModifier.h | |
void UpdateFromMesh() |
Updates internal mesh data from given detail panel inputs | Modifiers/MeshPartitionBooleanModifier.h |
|
Public Virtual
Overridden from UMeshBasedModifierBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void ProcessMeshInstance
(
FDynamicMesh3& OutMesh |
MeshPartition::UMeshBasedModifierBase. | Modifiers/MeshPartitionBooleanModifier.h |
Overridden from UModifierComponent
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual TArray< FBox > ComputeBounds() |
MeshPartition::UModifierComponent. | Modifiers/MeshPartitionBooleanModifier.h | |
virtual TSharedPtr< const MeshPartition::IModifierBackgroundOp > CreateBackgroundOp
(
const MeshPartition::EBuildType InBuildType |
Called to prepare for applying the modifier. | Modifiers/MeshPartitionBooleanModifier.h | |
virtual void DrawVisualization
(
const FSceneView* View, |
Called by the visualizer to give the modifier an oppertunity to render a debug visualization of itself when selected. | Modifiers/MeshPartitionBooleanModifier.h | |
virtual void GatherDependencies
(
MeshPartition::IDependencyInterface& Dependencies |
Gather Dependencies for this modifier, including asset and class dependencies and other relevant data (for example local settings) that affect the modifier apply behavior. | Modifiers/MeshPartitionBooleanModifier.h | |
virtual FGuid GetCodeVersionKey() |
Modifiers/MeshPartitionBooleanModifier.h | ||
virtual double GetComplexity () |
Gets the added complexity when applying this modifier. | Modifiers/MeshPartitionBooleanModifier.h | |
virtual bool IsContiguous() |
Modifiers/MeshPartitionBooleanModifier.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Modifiers/MeshPartitionBooleanModifier.h | ||
virtual void Serialize
(
FArchive& Ar |
UObject. | Modifiers/MeshPartitionBooleanModifier.h |