Navigation
API > API/Plugins > API/Plugins/MeshPartition
Actor class defining globally a MegaMesh. This actor contain handles to manipulate a MegaMesh in the editor (translate/rotate/scale). It is also the target of external modifiers to express which MegaMesh they are targeting.
| Name | AMeshPartition |
| Type | class |
| Header File | /Engine/Plugins/Experimental/MeshPartition/Source/MeshPartition/Public/MeshPartition.h |
| Include Path | #include "MeshPartition.h" |
Syntax
UCLASS (MinimalAPI, NotPlaceable)
class AMeshPartition : public AActor
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → AActor → AMeshPartition
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
AMeshPartition() |
MeshPartition.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| MegaMeshComponent | TObjectPtr< UMeshPartitionComponent > | MeshPartition.h |
|
|
| MegaMeshDefinition | TObjectPtr< UMeshPartitionDefinition > | MeshPartition.h |
|
|
| TransientSectionAttachAnchor | TObjectPtr< USceneComponent > | MeshPartition.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void GatherDependencies
(
MeshPartition::IDependencyInterface& InDependencies |
Adds dependencies on actor-level data (transform, etc.) that affect compiled section results. | MeshPartition.h | |
UMeshPartitionComponent * GetMeshPartitionComponent() |
MeshPartition.h | ||
UMeshPartitionDefinition * GetMeshPartitionDefinition() |
MeshPartition.h |
|
|
USceneComponent * GetTransientSectionAttachAnchor () |
Attach target for transient editor-only section actors (APreviewSection, AInteractiveSection). | MeshPartition.h | |
FBox LocalToWorld
(
const FBox& InLocalBounds |
MeshPartition.h | ||
void SetMeshPartitionComponent
(
UMeshPartitionComponent* InMeshPartitionComponent |
MeshPartition.h | ||
void SetMeshPartitionDefinition
(
UMeshPartitionDefinition* InMeshPartitionDefinition |
MeshPartition.h |
|
|
FBox WorldToLocal
(
const FBox& InWorldBounds |
World<->local AABB conversion against this actor's live transform. | MeshPartition.h |
Public Virtual
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void PostActorCreated() |
MeshPartition.h | ||
virtual void PostEditChangeProperty
(
FPropertyChangedEvent& InPropertyChangedEvent |
UObject Implementation. | MeshPartition.h | |
virtual void PostLoad() |
MeshPartition.h | ||
virtual void PostRegisterAllComponents() |
AActor Implementation. | MeshPartition.h | |
virtual void PostUnregisterAllComponents() |
MeshPartition.h |