Navigation
API > API/Plugins > API/Plugins/MeshPartitionEditor
| Name | UMeshProjectModifier |
| Type | class |
| Header File | /Engine/Plugins/Experimental/MeshPartition/Source/MeshPartitionEditor/Public/Modifiers/MeshPartitionMeshProjectModifier.h |
| Include Path | #include "Modifiers/MeshPartitionMeshProjectModifier.h" |
Syntax
UCLASS (MinimalAPI, prioritizeCategories=("Modifier", "Mesh", "Settings", "Visualize"),
Meta=(BlueprintSpawnableComponent, MegaMeshClassVersion="1"))
class UMeshProjectModifier : public UE::MeshPartition::UMeshBasedModifierBase
Inheritance Hierarchy
- FRenderAssetOwnerStreamingState → UPrimitiveComponent → UModifierComponent → UMeshBasedModifierBase → UMeshProjectModifier
- UObjectBase → UObjectBaseUtility → UObject → UActorComponent → USceneComponent → UPrimitiveComponent → UModifierComponent → UMeshBasedModifierBase → UMeshProjectModifier
Implements Interfaces
- IAsyncPhysicsStateProcessor
- IInterface_AssetUserData
- IInterface_AsyncCompilation
- INavRelevantInterface
- IPhysicsBodyInstanceOwner
- IPhysicsBodyInstanceOwnerResolver
- IPhysicsComponent
- IModifierBlueprintInterface
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UMeshProjectModifier() |
Modifiers/MeshPartitionMeshProjectModifier.h |
Structs
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AbsoluteProjectionDirection | FRotator | Modifiers/MeshPartitionMeshProjectModifier.h |
|
|
| bDrawLocalBounds | bool | Modifiers/MeshPartitionMeshProjectModifier.h |
|
|
| bDrawProjectionRectangle | bool | Draws a rectangle cross section of the affected box at the component location. | Modifiers/MeshPartitionMeshProjectModifier.h |
|
| BlendMode | MeshPartition::EProjectModifierBlendMode | Modifiers/MeshPartitionMeshProjectModifier.h |
|
|
| bUseRelativeProjectionDirection | bool | When true, the projection direction is specified relative to the mesh (whose transform is the component transform). | Modifiers/MeshPartitionMeshProjectModifier.h |
|
| EditCondition | When using Raise or Lower blend modes, smooths the displacement in areas where the existing mesh is close to the projection mesh. | Modifiers/MeshPartitionMeshProjectModifier.h |
|
|
| HeightFalloff | MeshPartition::FProjectModifierFalloffSettings | Modifiers/MeshPartitionMeshProjectModifier.h |
|
|
| RelativeProjectionDirection | FRotator | Modifiers/MeshPartitionMeshProjectModifier.h |
|
|
| VerticalExtentDown | float | How far down below the projection mesh the modifier affects megamesh vertices. | Modifiers/MeshPartitionMeshProjectModifier.h |
|
| VerticalExtentUp | float | How far up above the projection mesh the modifier affects megamesh vertices. | Modifiers/MeshPartitionMeshProjectModifier.h |
|
| WeightChannels | TArray< FProjectModifierWeightEntry > | Modifiers/MeshPartitionMeshProjectModifier.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void UpdateFromMesh() |
Updates internal mesh data from given detail panel inputs | Modifiers/MeshPartitionMeshProjectModifier.h |
|
Public Virtual
Overridden from UModifierComponent
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual TArray< FBox > ComputeBounds () |
Computes the set of bounding boxes describing the regions this modifier is affecting. | Modifiers/MeshPartitionMeshProjectModifier.h | |
virtual TSharedPtr< const MeshPartition::IModifierBackgroundOp > CreateBackgroundOp
(
const MeshPartition::EBuildType InBuildType |
Called to prepare for applying the modifier. | Modifiers/MeshPartitionMeshProjectModifier.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/MeshPartitionMeshProjectModifier.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/MeshPartitionMeshProjectModifier.h | |
virtual FGuid GetCodeVersionKey() |
Modifiers/MeshPartitionMeshProjectModifier.h | ||
virtual void InitializeModifier() |
MeshPartition::UModifierComponent. | Modifiers/MeshPartitionMeshProjectModifier.h | |
virtual void UninitializeModifier() |
Called before a modifier will be unloaded and unregistered in case it need resource cleaning. | Modifiers/MeshPartitionMeshProjectModifier.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void PostEditChangeChainProperty
(
FPropertyChangedChainEvent& PropertyChangedEvent |
Modifiers/MeshPartitionMeshProjectModifier.h | ||
virtual void PreEditChange
(
FEditPropertyChain& PropertyAboutToChange |
Modifiers/MeshPartitionMeshProjectModifier.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void ProjectOntoMesh
(
MeshPartition::FMeshView& MeshView, |
Modifiers/MeshPartitionMeshProjectModifier.h |