Navigation
API > API/Plugins > API/Plugins/MeshPartitionEditor
MeshPartition::ULevelInstanceAdapter is a MeshPartition::UModifierComponent that can be attached to a LevelInstance actor in the world to allow all UModifierComponents inside of that level instance to affect the same MegaMesh that the adapter is set to affect.
| Name | ULevelInstanceAdapter |
| Type | class |
| Header File | /Engine/Plugins/Experimental/MeshPartition/Source/MeshPartitionEditor/Public/Modifiers/MeshPartitionLevelInstanceAdapter.h |
| Include Path | #include "Modifiers/MeshPartitionLevelInstanceAdapter.h" |
Syntax
UCLASS (Meta=(BlueprintSpawnableComponent))
class ULevelInstanceAdapter : public UE::MeshPartition::UModifierComponent
Inheritance Hierarchy
- FRenderAssetOwnerStreamingState → UPrimitiveComponent → UModifierComponent → ULevelInstanceAdapter
- UObjectBase → UObjectBaseUtility → UObject → UActorComponent → USceneComponent → UPrimitiveComponent → UModifierComponent → ULevelInstanceAdapter
Implements Interfaces
- IAsyncPhysicsStateProcessor
- IInterface_AssetUserData
- IInterface_AsyncCompilation
- INavRelevantInterface
- IPhysicsBodyInstanceOwner
- IPhysicsBodyInstanceOwnerResolver
- IPhysicsComponent
- IModifierBlueprintInterface
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
ULevelInstanceAdapter() |
Modifiers/MeshPartitionLevelInstanceAdapter.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~ULevelInstanceAdapter() |
Modifiers/MeshPartitionLevelInstanceAdapter.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| OwnedModifiers | TSet< MeshPartition::UModifierComponent * > | Modifiers/MeshPartitionLevelInstanceAdapter.h |
Functions
Public
Public Virtual
Overridden from UModifierComponent
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual TArray< FBox > ComputeBounds() |
Begin MeshPartition::UModifierComponent Implementation. | Modifiers/MeshPartitionLevelInstanceAdapter.h | |
virtual TArray< MeshPartition::UModifierComponent * > GetInteractiveProxies() |
Modifiers/MeshPartitionLevelInstanceAdapter.h | ||
virtual void OnChanged
(
TConstArrayView< const FBox > InBoundingBoxes, |
Called when the modifier changed and needs to be processed again. | Modifiers/MeshPartitionLevelInstanceAdapter.h |
Overridden from UActorComponent
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void OnComponentDestroyed
(
bool bDestroyingHierarchy |
Modifiers/MeshPartitionLevelInstanceAdapter.h | ||
virtual void OnRegister() |
UActorComponent Implementation. | Modifiers/MeshPartitionLevelInstanceAdapter.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void PostEditChangeProperty
(
FPropertyChangedEvent& InPropertyChangedEvent |
Modifiers/MeshPartitionLevelInstanceAdapter.h | ||
virtual void PreEditChange
(
FProperty* InPropertyAboutToChange |
UObject Implementation. | Modifiers/MeshPartitionLevelInstanceAdapter.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void FixupModifierInstance
(
MeshPartition::UModifierComponent* InModifier |
Modifiers/MeshPartitionLevelInstanceAdapter.h | ||
void FixupModifiersInLevelInstance() |
End MeshPartition::UModifierComponent Implementation. | Modifiers/MeshPartitionLevelInstanceAdapter.h | |
void ForEachModifierInLevelInstance
(
TFunctionRef< void(MeshPartition::UModifierComponent*)> InOp |
Modifiers/MeshPartitionLevelInstanceAdapter.h | ||
ILevelInstanceInterface * GetOwningLevelInstance() |
Returns the owning level instance actor, or null if this component was incorrectly attached to a non-levelinstance. | Modifiers/MeshPartitionLevelInstanceAdapter.h | |
void OnLevelAdded
(
ULevel* InLevel, |
Called by the engine when a new level is added to the world. | Modifiers/MeshPartitionLevelInstanceAdapter.h | |
void OnLoadedActorAddedToLevel
(
AActor& InActor |
In the case of a LevelInstance with streaming enabled, it is not sufficient to depend on LevelAdded. | Modifiers/MeshPartitionLevelInstanceAdapter.h |