unreal.ActorDependentPropertyFilter
¶
- class unreal.ActorDependentPropertyFilter(outer=None, name='None')¶
Bases:
unreal.LevelSnapshotFilter
- 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.
C++ Source:
Plugin: LevelSnapshots
Module: LevelSnapshotFilters
File: ActorDependentPropertyFilter.h
Editor Properties: (see get_editor_property/set_editor_property)
actor_filter
(LevelSnapshotFilter): [Read-Write] Actor Filter: We run IsActorValid on this filter. IsPropertyValid uses one of the below filters depending on this filter.do_not_care_handling
(DoNotCareHandling): [Read-Write] Do Not Care Handling: Determines what filter IsPropertyValid is supposed to use when IsActorValid returns DoNotCare.do_not_care_property_filter
(LevelSnapshotFilter): [Read-Write] Do Not Care Property Filter: Used by IsPropertyValid when ActorFilter->IsActorValid returns DoNotCare and DoNotCareHandling == UseDoNotCareFilter.exclude_property_filter
(LevelSnapshotFilter): [Read-Write] Exclude Property Filter: Used by IsPropertyValid when ActorFilter->IsActorValid returns Excludeinclude_property_filter
(LevelSnapshotFilter): [Read-Write] Include Property Filter: Used by IsPropertyValid when ActorFilter->IsActorValid returns Include