Navigation
API > API/Plugins > API/Plugins/InstancedActors
A 3D volume component with a list of Modifiers to execute against any Instanced Actor's found within the volume.
| Name | UInstancedActorsModifierVolumeComponent |
| Type | class |
| Header File | /Engine/Plugins/Runtime/InstancedActors/Source/InstancedActors/Public/InstancedActorsModifierVolumeComponent.h |
| Include Path | #include "InstancedActorsModifierVolumeComponent.h" |
Syntax
UCLASS (MinimalAPI, ClassGroup="Instanced Actors",
HideCategories=(Object, HLOD, Lighting, VirtualTexture, Collision, TextureStreaming, Mobile, Physics, Tags, AssetUserData, Activation, Cooking, Navigation, Input, Mobility),
Meta=(BlueprintSpawnableComponent))
class UInstancedActorsModifierVolumeComponent : public UPrimitiveComponent
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UActorComponent → USceneComponent → UPrimitiveComponent → UInstancedActorsModifierVolumeComponent
Implements Interfaces
- IAsyncPhysicsStateProcessor
- IInterface_AssetUserData
- IInterface_AsyncCompilation
- INavRelevantInterface
- IPhysicsComponent
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UInstancedActorsModifierVolumeComponent
(
const FObjectInitializer& ObjectInitializer |
InstancedActorsModifierVolumeComponent.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bDrawOnlyIfSelected | bool | InstancedActorsModifierVolumeComponent.h |
|
|
| bIgnoreOwnLevelsInstances | bool | If true, instances within the same outer level as this modifier volume will be skipped for modification. | InstancedActorsModifierVolumeComponent.h |
|
| Color | FColor | InstancedActorsModifierVolumeComponent.h |
|
|
| Extent | FVector | Local space volume half-extent (size along side = Extent * 2 * ComponentScale3D). | InstancedActorsModifierVolumeComponent.h |
|
| LevelsToIgnore | TArray< TSoftObjectPtr< UWorld > > | If set, instances in IAMs which belong to these levels will be skipped (unaffected) by this modifier volume. | InstancedActorsModifierVolumeComponent.h |
|
| LineThickness | float | InstancedActorsModifierVolumeComponent.h |
|
|
| Modifiers | TArray< TObjectPtr< UInstancedActorsModifierBase > > | InstancedActorsModifierVolumeComponent.h |
|
|
| Radius | float | Local space volume radius (diameter = Radius * 2 * ComponentScale3D). | InstancedActorsModifierVolumeComponent.h |
|
| Shape | EInstancedActorsVolumeShape | Volume bounds shape Note: Replicated only in the initial bunch | InstancedActorsModifierVolumeComponent.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void OnAddedToManager
(
AInstancedActorsManager& Manager |
Called on addition to Manager in AInstancedActorsManager::AddModifierVolume. | InstancedActorsModifierVolumeComponent.h | |
void OnAddedToSubsystem
(
UInstancedActorsSubsystem& InstancedActorSubsystem, |
Finds managers already registered with InInstancedActorSubsystem and adds this modifier to them. | InstancedActorsModifierVolumeComponent.h | |
void OnRemovedFromManager
(
AInstancedActorsManager& Manager |
Called on removal from Manager in AInstancedActorsManager::RemoveModifierVolume. | InstancedActorsModifierVolumeComponent.h | |
bool TryRunPendingModifiers
(
AInstancedActorsManager& Manager, |
Executes Modifiers for all instances in Manager overlapped by this volume. | InstancedActorsModifierVolumeComponent.h |
Overridden from UPrimitiveComponent
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FPrimitiveSceneProxy * CreateSceneProxy() |
InstancedActorsModifierVolumeComponent.h |
Overridden from USceneComponent
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FBoxSphereBounds CalcBounds
(
const FTransform& LocalToWorld |
InstancedActorsModifierVolumeComponent.h |
Overridden from UActorComponent
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void BeginPlay() |
InstancedActorsModifierVolumeComponent.h | ||
virtual void EndPlay
(
EEndPlayReason::Type Reason |
InstancedActorsModifierVolumeComponent.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void GetLifetimeReplicatedProps
(
TArray< FLifetimeProperty >& OutLifetimeProps |
InstancedActorsModifierVolumeComponent.h |