Navigation
API > API/Plugins > API/Plugins/MeshPartitionEditor
This is a transient actor, expressing an interactive part of a MegaMesh. This means a region of the MegaMesh where processing is optimized for speed so a modifier can be interacted with and respond in a timeframe suited for interaction. It only exists in the editor.
| Name | AInteractiveSection |
| Type | class |
| Header File | /Engine/Plugins/Experimental/MeshPartition/Source/MeshPartitionEditor/Public/MeshPartitionInteractiveSection.h |
| Include Path | #include "MeshPartitionInteractiveSection.h" |
Syntax
UCLASS (MinimalAPI, Transient)
class AInteractiveSection : public AActor
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → AActor → AInteractiveSection
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
AInteractiveSection() |
MeshPartitionInteractiveSection.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| BaseBuildTasks | TArray< MeshPartition::FBuildTaskHandle > | MeshPartitionInteractiveSection.h | ||
| BaseMeshes | FMeshData | MeshPartitionInteractiveSection.h | ||
| BaseSetupTask | Tasks::FTask | MeshPartitionInteractiveSection.h | ||
| bPendingBuildIsOutdated | bool | MeshPartitionInteractiveSection.h | ||
| BuildSettings | MeshPartition::FBuilderSettings | MeshPartitionInteractiveSection.h | ||
| CopyTask | Tasks::FTask | MeshPartitionInteractiveSection.h | ||
| CurrentSourceBase | uint32 | MeshPartitionInteractiveSection.h | ||
| InteractiveModifiers | TArray< TObjectPtr< MeshPartition::UModifierComponent > > | MeshPartitionInteractiveSection.h |
|
|
| MaterialInstance | TObjectPtr< UMaterialInstanceDynamic > | MeshPartitionInteractiveSection.h |
|
|
| Parent | TSoftObjectPtr< AMeshPartition > | MeshPartitionInteractiveSection.h |
|
|
| PreviewBuildTasks | TArray< MeshPartition::FBuildTaskHandle > | MeshPartitionInteractiveSection.h | ||
| PreviewMeshComponent | TObjectPtr< UPreviewMeshComponent > | MeshPartitionInteractiveSection.h |
|
|
| State | EInteractiveSectionState | MeshPartitionInteractiveSection.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddModifier
(
MeshPartition::UModifierComponent* InModifier |
Adds a modifier to the list of managed interactive modifiers. | MeshPartitionInteractiveSection.h | |
void ClearInteractiveModifiers () |
Resets the current interactive modifiers for this interactive section. | MeshPartitionInteractiveSection.h | |
const TArray< TObjectPtr< MeshPartition::UModifierComponent > > & GetInteractiveModifiers() |
MeshPartitionInteractiveSection.h | ||
UMaterialInstanceDynamic * GetMaterialInstance() |
MeshPartitionInteractiveSection.h | ||
UMeshPartitionEditorComponent * GetMegaMeshEditorComponent() |
MeshPartitionInteractiveSection.h | ||
bool IsInteractiveSectionActive() |
MeshPartitionInteractiveSection.h | ||
void OnModifierChanged() |
Called when the current interactive modifier changed to update the interactive section. | MeshPartitionInteractiveSection.h | |
void RemoveModifier
(
MeshPartition::UModifierComponent* InModifier |
Removes a modifier to the list of managed interactive modifiers. | MeshPartitionInteractiveSection.h | |
void SetInteractiveModifiers
(
const TArray< MeshPartition::UModifierComponent* >& InModifiers, |
Setup the current interactive modifier to be used by this interactive section. | MeshPartitionInteractiveSection.h | |
void SetMaterialInstance
(
UMaterialInstanceDynamic* InMaterialInstance |
MeshPartitionInteractiveSection.h | ||
void SetParent
(
AMeshPartition* InMegaMesh |
MeshPartitionInteractiveSection.h | ||
void Update() |
MeshPartitionInteractiveSection.h |
Public Virtual
Overridden from AActor
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool ShouldTickIfViewportsOnly() |
MeshPartitionInteractiveSection.h | ||
virtual void Tick
(
float InDeltaSeconds |
AActor Implementation. | MeshPartitionInteractiveSection.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FModifierFilterFunc InteractiveSectionBaseFilter
(
const TArray< MeshPartition::UModifierComponent* >& InModifiers, |
Will filter any modifiers that should be applied after the provided modifiers. | MeshPartitionInteractiveSection.h |