Navigation
API > API/Plugins > API/Plugins/LevelSnapshotFilters
Implements IsActorValid and IsPropertyValid as follows:
- IsActorValid returns ActorFilter->IsActorValid
- IsPropertyValid runs ActorFilter->IsActorValid. Depending on its results it runs
- IncludePropertyFilter
- ExcludePropertyFilter
- DoNotCarePropertyFilter
Use case: You want to allow certain properties when another filters would include the actor and allow different properties when excluded.
| Name | UActorDependentPropertyFilter |
| Type | class |
| Header File | /Engine/Plugins/VirtualProduction/LevelSnapshots/Source/LevelShapshotFilters/Public/Builtin/ActorDependentPropertyFilter.h |
| Include Path | #include "Builtin/ActorDependentPropertyFilter.h" |
Syntax
UCLASS ()
class UActorDependentPropertyFilter : public ULevelSnapshotFilter
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → ULevelSnapshotFilter → UActorDependentPropertyFilter
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ActorFilter | TObjectPtr< ULevelSnapshotFilter > | We run IsActorValid on this filter. | Builtin/ActorDependentPropertyFilter.h |
|
| DoNotCareHandling | EDoNotCareHandling | Determines what filter IsPropertyValid is supposed to use when IsActorValid returns DoNotCare. | Builtin/ActorDependentPropertyFilter.h |
|
| DoNotCarePropertyFilter | TObjectPtr< ULevelSnapshotFilter > | Used by IsPropertyValid when ActorFilter->IsActorValid returns DoNotCare and DoNotCareHandling == UseDoNotCareFilter. | Builtin/ActorDependentPropertyFilter.h |
|
| ExcludePropertyFilter | TObjectPtr< ULevelSnapshotFilter > | Used by IsPropertyValid when ActorFilter->IsActorValid returns Exclude | Builtin/ActorDependentPropertyFilter.h |
|
| IncludePropertyFilter | TObjectPtr< ULevelSnapshotFilter > | Used by IsPropertyValid when ActorFilter->IsActorValid returns Include | Builtin/ActorDependentPropertyFilter.h |
|
Functions
Public
Overridden from ULevelSnapshotFilter
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual EFilterResult::Type IsActorValid
(
const FIsActorValidParams& Params |
Builtin/ActorDependentPropertyFilter.h | ||
virtual EFilterResult::Type IsPropertyValid
(
const FIsPropertyValidParams& Params |
Builtin/ActorDependentPropertyFilter.h |