UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UTypedElementSelectionSet Class Reference

#include <TypedElementSelectionSet.h>

+ Inheritance diagram for UTypedElementSelectionSet:

Public Member Functions

TYPEDELEMENTRUNTIME_API UTypedElementSelectionSet ()
 
virtual TYPEDELEMENTRUNTIME_API void BeginDestroy () override
 
virtual TYPEDELEMENTRUNTIME_API void Serialize (FArchive &Ar) override
 
TYPEDELEMENTRUNTIME_API bool IsElementSelected (const FTypedElementHandle &InElementHandle, const FTypedElementIsSelectedOptions InSelectionOptions) const
 
TYPEDELEMENTRUNTIME_API bool CanSelectElement (const FTypedElementHandle &InElementHandle, const FTypedElementSelectionOptions InSelectionOptions) const
 
TYPEDELEMENTRUNTIME_API bool CanDeselectElement (const FTypedElementHandle &InElementHandle, const FTypedElementSelectionOptions InSelectionOptions) const
 
TYPEDELEMENTRUNTIME_API bool SelectElement (const FTypedElementHandle &InElementHandle, const FTypedElementSelectionOptions InSelectionOptions)
 
TYPEDELEMENTRUNTIME_API bool SelectElements (const TArray< FTypedElementHandle > &InElementHandles, const FTypedElementSelectionOptions InSelectionOptions)
 
TYPEDELEMENTRUNTIME_API bool SelectElements (TArrayView< const FTypedElementHandle > InElementHandles, const FTypedElementSelectionOptions InSelectionOptions)
 
TYPEDELEMENTRUNTIME_API bool SelectElements (FTypedElementListConstRef InElementList, const FTypedElementSelectionOptions InSelectionOptions)
 
TYPEDELEMENTRUNTIME_API bool DeselectElement (const FTypedElementHandle &InElementHandle, const FTypedElementSelectionOptions InSelectionOptions)
 
TYPEDELEMENTRUNTIME_API bool DeselectElements (const TArray< FTypedElementHandle > &InElementHandles, const FTypedElementSelectionOptions InSelectionOptions)
 
TYPEDELEMENTRUNTIME_API bool DeselectElements (TArrayView< const FTypedElementHandle > InElementHandles, const FTypedElementSelectionOptions InSelectionOptions)
 
TYPEDELEMENTRUNTIME_API bool DeselectElements (FTypedElementListConstRef InElementList, const FTypedElementSelectionOptions InSelectionOptions)
 
TYPEDELEMENTRUNTIME_API bool ClearSelection (const FTypedElementSelectionOptions InSelectionOptions)
 
TYPEDELEMENTRUNTIME_API bool SetSelection (const TArray< FTypedElementHandle > &InElementHandles, const FTypedElementSelectionOptions InSelectionOptions)
 
TYPEDELEMENTRUNTIME_API bool SetSelection (TArrayView< const FTypedElementHandle > InElementHandles, const FTypedElementSelectionOptions InSelectionOptions)
 
TYPEDELEMENTRUNTIME_API bool SetSelection (FTypedElementListConstRef InElementList, const FTypedElementSelectionOptions InSelectionOptions)
 
TYPEDELEMENTRUNTIME_API bool AllowSelectionModifiers (const FTypedElementHandle &InElementHandle) const
 
TYPEDELEMENTRUNTIME_API void SetNameForTedsIntegration (const FName InNameForIntegration)
 
TYPEDELEMENTRUNTIME_API FTypedElementHandle GetSelectionElement (const FTypedElementHandle &InElementHandle, const ETypedElementSelectionMethod InSelectionMethod) const
 
TYPEDELEMENTRUNTIME_API FTypedElementListRef GetNormalizedSelection (const FTypedElementSelectionNormalizationOptions InNormalizationOptions) const
 
TYPEDELEMENTRUNTIME_API void GetNormalizedSelection (const FTypedElementSelectionNormalizationOptions &InNormalizationOptions, FTypedElementListRef OutNormalizedElements) const
 
TYPEDELEMENTRUNTIME_API FTypedElementListRef GetNormalizedElementList (FTypedElementListConstRef InElementList, const FTypedElementSelectionNormalizationOptions InNormalizationOptions) const
 
TYPEDELEMENTRUNTIME_API void GetNormalizedElementList (FTypedElementListConstRef InElementList, const FTypedElementSelectionNormalizationOptions &InNormalizationOptions, FTypedElementListRef OutNormalizedElements) const
 
int32 GetNumSelectedElements () const
 
bool HasSelectedElements (const TSubclassOf< UInterface > InBaseInterfaceType={}) const
 
int32 CountSelectedElements (const TSubclassOf< UInterface > InBaseInterfaceType={}) const
 
TArray< FTypedElementHandleGetSelectedElementHandles (const TSubclassOf< UInterface > InBaseInterfaceType={}) const
 
template<typename ArrayAllocator >
void GetSelectedElementHandles (TArray< FTypedElementHandle, ArrayAllocator > &OutArray, const TSubclassOf< UInterface > &InBaseInterfaceType={}) const
 
void ForEachSelectedElementHandle (TFunctionRef< bool(const FTypedElementHandle &)> InCallback, const TSubclassOf< UInterface > &InBaseInterfaceType={}) const
 
template<typename BaseInterfaceType >
void ForEachSelectedElement (TFunctionRef< bool(const TTypedElement< BaseInterfaceType > &)> InCallback) const
 
template<typename BaseInterfaceType >
TTypedElement< BaseInterfaceTypeGetTopSelectedElement () const
 
template<typename BaseInterfaceType >
TTypedElement< BaseInterfaceTypeGetTopSelectedElement (TFunctionRef< bool(const TTypedElement< BaseInterfaceType > &)> Predicate) const
 
template<typename BaseInterfaceType >
TTypedElement< BaseInterfaceTypeGetBottomSelectedElement () const
 
template<typename BaseInterfaceType >
TTypedElement< BaseInterfaceTypeGetBottomSelectedElement (TFunctionRef< bool(const TTypedElement< BaseInterfaceType > &)> Predicate) const
 
bool HasSelectedObjects (const UClass *InRequiredClass=nullptr) const
 
template<typename RequiredClassType >
bool HasSelectedObjects () const
 
int32 CountSelectedObjects (const UClass *InRequiredClass=nullptr) const
 
template<typename RequiredClassType >
int32 CountSelectedObjects () const
 
TArray< UObject * > GetSelectedObjects (const UClass *InRequiredClass=nullptr) const
 
template<typename RequiredClassType >
TArray< RequiredClassType * > GetSelectedObjects () const
 
void ForEachSelectedObject (TFunctionRef< bool(UObject *)> InCallback, const UClass *InRequiredClass=nullptr) const
 
template<typename RequiredClassType >
void ForEachSelectedObject (TFunctionRef< bool(RequiredClassType *)> InCallback) const
 
UObjectGetTopSelectedObject (const UClass *InRequiredClass=nullptr) const
 
template<typename RequiredClassType >
RequiredClassTypeGetTopSelectedObject () const
 
UObjectGetBottomSelectedObject (const UClass *InRequiredClass=nullptr) const
 
template<typename RequiredClassType >
RequiredClassTypeGetBottomSelectedObject () const
 
 DECLARE_EVENT_OneParam (UTypedElementSelectionSet, FOnPreChange, const UTypedElementSelectionSet *)
 
FOnPreChangeOnPreChange ()
 
 DECLARE_EVENT_OneParam (UTypedElementSelectionSet, FOnChanged, const UTypedElementSelectionSet *)
 
FOnChangedOnChanged ()
 
void NotifyPendingChanges ()
 
FTypedElementList::FScopedClearNewPendingChange GetScopedClearNewPendingChange ()
 
FTypedElementList::FLegacySyncLegacy_GetElementListSync ()
 
FTypedElementList::FLegacySyncLegacy_GetElementListSyncPtr ()
 
FTypedElementListConstRef GetElementList () const
 
TYPEDELEMENTRUNTIME_API FTypedElementSelectionSetState GetCurrentSelectionState () const
 
TYPEDELEMENTRUNTIME_API void RestoreSelectionState (const FTypedElementSelectionSetState &InSelectionState)
 
TYPEDELEMENTRUNTIME_API bool IsElementSelected (const FScriptTypedElementHandle &InElementHandle, const FTypedElementIsSelectedOptions InSelectionOptions) const
 
TYPEDELEMENTRUNTIME_API bool CanSelectElement (const FScriptTypedElementHandle &InElementHandle, const FTypedElementSelectionOptions InSelectionOptions) const
 
TYPEDELEMENTRUNTIME_API bool CanDeselectElement (const FScriptTypedElementHandle &InElementHandle, const FTypedElementSelectionOptions InSelectionOptions) const
 
TYPEDELEMENTRUNTIME_API bool SelectElement (const FScriptTypedElementHandle &InElementHandle, const FTypedElementSelectionOptions InSelectionOptions)
 
TYPEDELEMENTRUNTIME_API bool SelectElements (const TArray< FScriptTypedElementHandle > &InElementHandles, const FTypedElementSelectionOptions InSelectionOptions)
 
TYPEDELEMENTRUNTIME_API bool DeselectElement (const FScriptTypedElementHandle &InElementHandle, const FTypedElementSelectionOptions InSelectionOptions)
 
TYPEDELEMENTRUNTIME_API bool DeselectElements (const TArray< FScriptTypedElementHandle > &InElementHandles, const FTypedElementSelectionOptions InSelectionOptions)
 
TYPEDELEMENTRUNTIME_API bool SetSelection (const TArray< FScriptTypedElementHandle > &InElementHandles, const FTypedElementSelectionOptions InSelectionOptions)
 
TYPEDELEMENTRUNTIME_API bool AllowSelectionModifiers (const FScriptTypedElementHandle &InElementHandle) const
 
TYPEDELEMENTRUNTIME_API FScriptTypedElementHandle GetSelectionElement (const FScriptTypedElementHandle &InElementHandle, const ETypedElementSelectionMethod InSelectionMethod) const
 
TYPEDELEMENTRUNTIME_API TArray< FScriptTypedElementHandleK2_GetSelectedElementHandles (const TSubclassOf< UInterface > InBaseInterfaceType={}) const
 
 DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam (FOnPreChangeDynamic, const UTypedElementSelectionSet *, SelectionSet)
 
 DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam (FOnChangeDynamic, const UTypedElementSelectionSet *, SelectionSet)
 
- Public Member Functions inherited from UObject
COREUOBJECT_API UObject ()
 
COREUOBJECT_API UObject (const FObjectInitializer &ObjectInitializer)
 
COREUOBJECT_API UObject (EStaticConstructor, EObjectFlags InFlags)
 
COREUOBJECT_API UObject (FVTableHelper &Helper)
 
COREUOBJECT_API UObjectCreateDefaultSubobject (FName SubobjectFName, UClass *ReturnType, UClass *ClassToCreateByDefault, bool bIsRequired, bool bIsTransient)
 
template<class TReturnType >
TReturnTypeCreateEditorOnlyDefaultSubobject (FName SubobjectName, bool bTransient=false)
 
template<class TReturnType >
TReturnTypeCreateDefaultSubobject (FName SubobjectName, bool bTransient=false)
 
template<class TReturnType , class TClassToConstructByDefault >
TReturnTypeCreateDefaultSubobject (FName SubobjectName, bool bTransient=false)
 
template<class TReturnType >
TReturnTypeCreateOptionalDefaultSubobject (FName SubobjectName, bool bTransient=false)
 
template<class TReturnType , class TClassToConstructByDefault >
TReturnTypeCreateOptionalDefaultSubobject (FName SubobjectName, bool bTransient=false)
 
COREUOBJECT_API void GetDefaultSubobjects (TArray< UObject * > &OutDefaultSubobjects)
 
COREUOBJECT_API UObjectGetDefaultSubobjectByName (FName ToFind)
 
virtual COREUOBJECT_API void PostInitProperties ()
 
virtual COREUOBJECT_API void PostReinitProperties ()
 
virtual void PostCDOContruct ()
 
virtual COREUOBJECT_API void PreSaveRoot (FObjectPreSaveRootContext ObjectSaveContext)
 
virtual COREUOBJECT_API void PostSaveRoot (FObjectPostSaveRootContext ObjectSaveContext)
 
virtual COREUOBJECT_API void PreSave (FObjectPreSaveContext SaveContext)
 
virtual COREUOBJECT_API void CollectSaveOverrides (FObjectCollectSaveOverridesContext SaveContext)
 
UE_FORCEINLINE_HINT bool Modify (bool bAlwaysMarkDirty=true)
 
UE_FORCEINLINE_HINT bool IsCapturingAsRootObjectForTransaction () const
 
virtual bool ResolveSubobject (const TCHAR *SubObjectPath, UObject *&OutObject, bool bLoadIfExists)
 
virtual bool IsReadyForAsyncPostLoad () const
 
virtual COREUOBJECT_API void PostLoad ()
 
virtual COREUOBJECT_API void PostLoadSubobjects (FObjectInstancingGraph *OuterInstanceGraph)
 
virtual bool IsReadyForFinishDestroy ()
 
virtual COREUOBJECT_API void FinishDestroy ()
 
virtual COREUOBJECT_API void Serialize (FStructuredArchive::FRecord Record)
 
virtual void ShutdownAfterError ()
 
virtual void PostInterpChange (FProperty *PropertyThatChanged)
 
virtual COREUOBJECT_API void PostRename (UObject *OldOuter, const FName OldName)
 
virtual void PreDuplicate (FObjectDuplicationParameters &DupParams)
 
virtual void PostDuplicate (bool bDuplicateForPIE)
 
virtual void PostDuplicate (EDuplicateMode::Type DuplicateMode)
 
virtual COREUOBJECT_API bool NeedsLoadForClient () const
 
virtual COREUOBJECT_API bool NeedsLoadForServer () const
 
virtual COREUOBJECT_API bool NeedsLoadForTargetPlatform (const class ITargetPlatform *TargetPlatform) const
 
virtual bool NeedsLoadForEditorGame () const
 
virtual bool IsEditorOnly () const
 
virtual bool HasNonEditorOnlyReferences () const
 
virtual bool IsPostLoadThreadSafe () const
 
virtual COREUOBJECT_API bool IsDestructionThreadSafe () const
 
virtual COREUOBJECT_API void GetPreloadDependencies (TArray< UObject * > &OutDeps)
 
virtual void GetPrestreamPackages (TArray< UObject * > &OutPrestream)
 
virtual void ExportCustomProperties (FOutputDevice &Out, uint32 Indent)
 
virtual void ImportCustomProperties (const TCHAR *SourceText, FFeedbackContext *Warn)
 
virtual void PostEditImport ()
 
virtual void PostReloadConfig (class FProperty *PropertyThatWasLoaded)
 
virtual COREUOBJECT_API bool Rename (const TCHAR *NewName=nullptr, UObject *NewOuter=nullptr, ERenameFlags Flags=REN_None)
 
virtual FString GetDesc ()
 
COREUOBJECT_API UScriptStructGetSparseClassDataStruct () const
 
virtual bool GetNativePropertyValues (TMap< FString, FString > &out_PropertyValues, uint32 ExportFlags=0) const
 
virtual COREUOBJECT_API void GetResourceSizeEx (FResourceSizeEx &CumulativeResourceSize)
 
SIZE_T GetResourceSizeBytes (EResourceSizeMode::Type Mode)
 
virtual FName GetExporterName (void)
 
COREUOBJECT_API void CallAddReferencedObjects (FReferenceCollector &Collector)
 
virtual FRestoreForUObjectOverwriteGetRestoreForUObjectOverwrite ()
 
virtual bool AreNativePropertiesIdenticalTo (UObject *Other) const
 
virtual COREUOBJECT_API void GetAssetRegistryTags (FAssetRegistryTagsContext Context) const
 
virtual COREUOBJECT_API void GetAssetRegistryTags (TArray< FAssetRegistryTag > &OutTags) const
 
COREUOBJECT_API void GetAssetRegistryTags (FAssetData &Out) const
 
COREUOBJECT_API void GetAssetRegistryTags (FAssetRegistryTagsContext Context, FAssetData &Out) const
 
virtual COREUOBJECT_API bool IsAsset () const
 
virtual COREUOBJECT_API FPrimaryAssetId GetPrimaryAssetId () const
 
virtual COREUOBJECT_API bool IsLocalizedResource () const
 
virtual COREUOBJECT_API bool IsSafeForRootSet () const
 
virtual COREUOBJECT_API void TagSubobjects (EObjectFlags NewFlags)
 
virtual COREUOBJECT_API void GetLifetimeReplicatedProps (TArray< class FLifetimeProperty > &OutLifetimeProps) const
 
virtual COREUOBJECT_API void GetReplicatedCustomConditionState (FCustomPropertyConditionState &OutActiveState) const
 
virtual COREUOBJECT_API void RegisterReplicationFragments (UE::Net::FFragmentRegistrationContext &Context, UE::Net::EFragmentRegistrationFlags RegistrationFlags)
 
virtual COREUOBJECT_API bool IsNameStableForNetworking () const
 
virtual COREUOBJECT_API bool IsFullNameStableForNetworking () const
 
virtual COREUOBJECT_API bool IsSupportedForNetworking () const
 
virtual void GetSubobjectsWithStableNamesForNetworking (TArray< UObject * > &ObjList)
 
virtual COREUOBJECT_API void PreNetReceive ()
 
virtual COREUOBJECT_API void PostNetReceive ()
 
virtual void PostRepNotifies ()
 
virtual COREUOBJECT_API void PreDestroyFromReplication ()
 
COREUOBJECT_API bool IsSelected () const
 
COREUOBJECT_API void SerializeScriptProperties (FArchive &Ar) const
 
COREUOBJECT_API void SerializeScriptProperties (FStructuredArchive::FSlot Slot) const
 
COREUOBJECT_API void ReinitializeProperties (UObject *SourceObject=NULL, struct FObjectInstancingGraph *InstanceGraph=NULL)
 
COREUOBJECT_API FString GetDetailedInfo () const
 
COREUOBJECT_API bool ConditionalBeginDestroy ()
 
COREUOBJECT_API bool ConditionalFinishDestroy ()
 
COREUOBJECT_API void ConditionalPostLoad ()
 
COREUOBJECT_API void ConditionalPreload ()
 
COREUOBJECT_API void ConditionalPostLoadSubobjects (struct FObjectInstancingGraph *OuterInstanceGraph=NULL)
 
bool IsBasedOnArchetype (const UObject *const SomeObject) const
 
COREUOBJECT_API UFunctionFindFunction (FName InName) const
 
COREUOBJECT_API UFunctionFindFunctionChecked (FName InName) const
 
virtual COREUOBJECT_API void BuildSubobjectMapping (UObject *OtherObject, TMap< UObject *, UObject * > &ObjectMapping) const
 
COREUOBJECT_API void CollectDefaultSubobjects (TArray< UObject * > &OutDefaultSubobjects, bool bIncludeNestedSubobjects=false) const
 
COREUOBJECT_API bool CheckDefaultSubobjects (bool bForceCheck=false) const
 
COREUOBJECT_API void SaveConfig (uint64 RequiredPropertyFlags=CPF_Config, const TCHAR *Filename=nullptr, FConfigCacheIni *Config=GConfig, bool bAllowCopyToDefaultObject=true)
 
COREUOBJECT_API void SaveConfig (const FSaveConfigContext &Context)
 
COREUOBJECT_API void UpdateDefaultConfigFile (const FString &SpecificFileLocation="")
 
COREUOBJECT_API bool TryUpdateDefaultConfigFile (const FString &SpecificFileLocation="", bool bWarnIfFail=true)
 
COREUOBJECT_API void UpdateGlobalUserConfigFile ()
 
COREUOBJECT_API void UpdateProjectUserConfigFile ()
 
COREUOBJECT_API void UpdateSinglePropertyInConfigFile (const FProperty *InProperty, const FString &InConfigIniName)
 
COREUOBJECT_API FString GetDefaultConfigFilename () const
 
COREUOBJECT_API FString GetGlobalUserConfigFilename () const
 
COREUOBJECT_API FString GetProjectUserConfigFilename () const
 
virtual const TCHARGetConfigOverridePlatform () const
 
virtual void OverrideConfigSection (FString &SectionName)
 
virtual void OverridePerObjectConfigSection (FString &SectionName)
 
COREUOBJECT_API void LoadConfig (UClass *ConfigClass=nullptr, const TCHAR *Filename=nullptr, uint32 PropagationFlags=UE::LCPF_None, class FProperty *PropertyToLoad=nullptr, TArray< UE::ConfigAccessTracking::FConfigAccessData > *OutAccessedKeys=nullptr)
 
COREUOBJECT_API void ReloadConfig (UClass *ConfigClass=NULL, const TCHAR *Filename=NULL, uint32 PropagationFlags=UE::LCPF_None, class FProperty *PropertyToLoad=NULL)
 
COREUOBJECT_API void ParseParms (const TCHAR *Parms)
 
COREUOBJECT_API void OutputReferencers (FOutputDevice &Ar, FReferencerInformationList *Referencers=NULL)
 
COREUOBJECT_API void RetrieveReferencers (TArray< FReferencerInformation > *OutInternalReferencers, TArray< FReferencerInformation > *OutExternalReferencers)
 
COREUOBJECT_API void SetLinker (FLinkerLoad *LinkerLoad, int32 LinkerIndex, bool bShouldDetachExisting=true, bool bSilenceLogs=false)
 
COREUOBJECT_API UObjectGetArchetype () const
 
COREUOBJECT_API void GetArchetypeInstances (TArray< UObject * > &Instances)
 
COREUOBJECT_API void InstanceSubobjectTemplates (struct FObjectInstancingGraph *InstanceGraph=NULL)
 
template<class T >
bool Implements () const
 
virtual COREUOBJECT_API void ProcessEvent (UFunction *Function, void *Parms)
 
virtual int32 GetFunctionCallspace (UFunction *Function, FFrame *Stack)
 
virtual bool CallRemoteFunction (UFunction *Function, void *Parms, struct FOutParmRec *OutParms, FFrame *Stack)
 
COREUOBJECT_API bool CallFunctionByNameWithArguments (const TCHAR *Cmd, FOutputDevice &Ar, UObject *Executor, bool bForceCallWithNonExec=false)
 
COREUOBJECT_API void CallFunction (FFrame &Stack, RESULT_DECL, UFunction *Function)
 
 DECLARE_FUNCTION (ProcessInternal)
 
virtual bool ProcessConsoleExec (const TCHAR *Cmd, FOutputDevice &Ar, UObject *Executor)
 
COREUOBJECT_API void SkipFunction (FFrame &Stack, RESULT_DECL, UFunction *Function)
 
virtual UClassRegenerateClass (UClass *ClassToRegenerate, UObject *PreviousCDO)
 
COREUOBJECT_API bool IsInBlueprint () const
 
COREUOBJECT_API void DestroyNonNativeProperties ()
 
virtual void MarkAsEditorOnlySubobject ()
 
COREUOBJECT_API void AbortInsideMemberFunction () const
 
 DECLARE_FUNCTION (execUndefined)
 
 DECLARE_FUNCTION (execLocalVariable)
 
 DECLARE_FUNCTION (execInstanceVariable)
 
 DECLARE_FUNCTION (execDefaultVariable)
 
 DECLARE_FUNCTION (execLocalOutVariable)
 
 DECLARE_FUNCTION (execInterfaceVariable)
 
 DECLARE_FUNCTION (execClassSparseDataVariable)
 
 DECLARE_FUNCTION (execInterfaceContext)
 
 DECLARE_FUNCTION (execArrayElement)
 
 DECLARE_FUNCTION (execBoolVariable)
 
 DECLARE_FUNCTION (execClassDefaultVariable)
 
 DECLARE_FUNCTION (execEndFunctionParms)
 
 DECLARE_FUNCTION (execNothing)
 
 DECLARE_FUNCTION (execNothingInt32)
 
 DECLARE_FUNCTION (execNothingOp4a)
 
 DECLARE_FUNCTION (execBreakpoint)
 
 DECLARE_FUNCTION (execTracepoint)
 
 DECLARE_FUNCTION (execWireTracepoint)
 
 DECLARE_FUNCTION (execInstrumentation)
 
 DECLARE_FUNCTION (execEndOfScript)
 
 DECLARE_FUNCTION (execReturnNothing)
 
 DECLARE_FUNCTION (execEmptyParmValue)
 
 DECLARE_FUNCTION (execJump)
 
 DECLARE_FUNCTION (execJumpIfNot)
 
 DECLARE_FUNCTION (execAssert)
 
 DECLARE_FUNCTION (execPushExecutionFlow)
 
 DECLARE_FUNCTION (execPopExecutionFlow)
 
 DECLARE_FUNCTION (execComputedJump)
 
 DECLARE_FUNCTION (execPopExecutionFlowIfNot)
 
 DECLARE_FUNCTION (execLet)
 
 DECLARE_FUNCTION (execLetObj)
 
 DECLARE_FUNCTION (execLetWeakObjPtr)
 
 DECLARE_FUNCTION (execLetBool)
 
 DECLARE_FUNCTION (execLetDelegate)
 
 DECLARE_FUNCTION (execLetMulticastDelegate)
 
 DECLARE_FUNCTION (execAddMulticastDelegate)
 
 DECLARE_FUNCTION (execClearMulticastDelegate)
 
 DECLARE_FUNCTION (execEatReturnValue)
 
 DECLARE_FUNCTION (execRemoveMulticastDelegate)
 
 DECLARE_FUNCTION (execSelf)
 
 DECLARE_FUNCTION (execContext)
 
 DECLARE_FUNCTION (execContext_FailSilent)
 
 DECLARE_FUNCTION (execStructMemberContext)
 
 DECLARE_FUNCTION (execVirtualFunction)
 
 DECLARE_FUNCTION (execFinalFunction)
 
 DECLARE_FUNCTION (execLocalVirtualFunction)
 
 DECLARE_FUNCTION (execLocalFinalFunction)
 
 DECLARE_FUNCTION (execStructCmpEq)
 
 DECLARE_FUNCTION (execStructCmpNe)
 
 DECLARE_FUNCTION (execStructMember)
 
 DECLARE_FUNCTION (execEqualEqual_DelegateDelegate)
 
 DECLARE_FUNCTION (execNotEqual_DelegateDelegate)
 
 DECLARE_FUNCTION (execEqualEqual_DelegateFunction)
 
 DECLARE_FUNCTION (execNotEqual_DelegateFunction)
 
 DECLARE_FUNCTION (execIntConst)
 
 DECLARE_FUNCTION (execInt64Const)
 
 DECLARE_FUNCTION (execUInt64Const)
 
 DECLARE_FUNCTION (execSkipOffsetConst)
 
 DECLARE_FUNCTION (execFloatConst)
 
 DECLARE_FUNCTION (execDoubleConst)
 
 DECLARE_FUNCTION (execStringConst)
 
 DECLARE_FUNCTION (execUnicodeStringConst)
 
 DECLARE_FUNCTION (execTextConst)
 
 DECLARE_FUNCTION (execPropertyConst)
 
 DECLARE_FUNCTION (execObjectConst)
 
 DECLARE_FUNCTION (execSoftObjectConst)
 
 DECLARE_FUNCTION (execFieldPathConst)
 
 DECLARE_FUNCTION (execInstanceDelegate)
 
 DECLARE_FUNCTION (execNameConst)
 
 DECLARE_FUNCTION (execByteConst)
 
 DECLARE_FUNCTION (execIntZero)
 
 DECLARE_FUNCTION (execIntOne)
 
 DECLARE_FUNCTION (execTrue)
 
 DECLARE_FUNCTION (execFalse)
 
 DECLARE_FUNCTION (execNoObject)
 
 DECLARE_FUNCTION (execNullInterface)
 
 DECLARE_FUNCTION (execIntConstByte)
 
 DECLARE_FUNCTION (execRotationConst)
 
 DECLARE_FUNCTION (execVectorConst)
 
 DECLARE_FUNCTION (execVector3fConst)
 
 DECLARE_FUNCTION (execTransformConst)
 
 DECLARE_FUNCTION (execStructConst)
 
 DECLARE_FUNCTION (execSetArray)
 
 DECLARE_FUNCTION (execSetSet)
 
 DECLARE_FUNCTION (execSetMap)
 
 DECLARE_FUNCTION (execArrayConst)
 
 DECLARE_FUNCTION (execSetConst)
 
 DECLARE_FUNCTION (execMapConst)
 
 DECLARE_FUNCTION (execBitFieldConst)
 
 DECLARE_FUNCTION (execNew)
 
 DECLARE_FUNCTION (execClassContext)
 
 DECLARE_FUNCTION (execNativeParm)
 
 DECLARE_FUNCTION (execCast)
 
 DECLARE_FUNCTION (execDynamicCast)
 
 DECLARE_FUNCTION (execMetaCast)
 
 DECLARE_FUNCTION (execInterfaceCast)
 
 DECLARE_FUNCTION (execDoubleToFloatCast)
 
 DECLARE_FUNCTION (execFloatToDoubleCast)
 
 DECLARE_FUNCTION (execObjectToBool)
 
 DECLARE_FUNCTION (execInterfaceToBool)
 
 DECLARE_FUNCTION (execObjectToInterface)
 
 DECLARE_FUNCTION (execInterfaceToInterface)
 
 DECLARE_FUNCTION (execInterfaceToObject)
 
 DECLARE_FUNCTION (execGetDynArrayElement)
 
 DECLARE_FUNCTION (execSetDynArrayElement)
 
 DECLARE_FUNCTION (execGetDynArrayLength)
 
 DECLARE_FUNCTION (execSetDynArrayLength)
 
 DECLARE_FUNCTION (execDynArrayInsert)
 
 DECLARE_FUNCTION (execDynArrayRemove)
 
 DECLARE_FUNCTION (execDynArrayFind)
 
 DECLARE_FUNCTION (execDynArrayFindStruct)
 
 DECLARE_FUNCTION (execDynArrayAdd)
 
 DECLARE_FUNCTION (execDynArrayAddItem)
 
 DECLARE_FUNCTION (execDynArrayInsertItem)
 
 DECLARE_FUNCTION (execDynArrayRemoveItem)
 
 DECLARE_FUNCTION (execDynArraySort)
 
 DECLARE_FUNCTION (execBindDelegate)
 
 DECLARE_FUNCTION (execCallMulticastDelegate)
 
 DECLARE_FUNCTION (execLetValueOnPersistentFrame)
 
 DECLARE_FUNCTION (execCallMathFunction)
 
 DECLARE_FUNCTION (execSwitchValue)
 
 DECLARE_FUNCTION (execArrayGetByRef)
 
 DECLARE_FUNCTION (execAutoRtfmTransact)
 
 DECLARE_FUNCTION (execAutoRtfmStopTransact)
 
 DECLARE_FUNCTION (execAutoRtfmAbortIfNot)
 
void ExecuteUbergraph (int32 EntryPoint)
 
virtual void ValidateGeneratedRepEnums (const TArray< struct FRepRecord > &ClassReps) const
 
virtual uint64 GetNetPushIdDynamic () const
 
- Public Member Functions inherited from UObjectBaseUtility
 UObjectBaseUtility ()
 
 UObjectBaseUtility (EObjectFlags InFlags)
 
void SetFlags (EObjectFlags NewFlags)
 
void ClearFlags (EObjectFlags FlagsToClear)
 
bool HasAnyFlags (EObjectFlags FlagsToCheck) const
 
bool HasAllFlags (EObjectFlags FlagsToCheck) const
 
UE_FORCEINLINE_HINT EObjectFlags GetMaskedFlags (EObjectFlags Mask=RF_AllFlags) const
 
UE_FORCEINLINE_HINT void Mark (EObjectMark Marks) const
 
UE_FORCEINLINE_HINT void UnMark (EObjectMark Marks) const
 
UE_FORCEINLINE_HINT bool HasAnyMarks (EObjectMark Marks) const
 
UE_FORCEINLINE_HINT bool HasAllMarks (EObjectMark Marks) const
 
UE_FORCEINLINE_HINT EObjectMark GetAllMarks () const
 
void MarkAsGarbage ()
 
void ClearGarbage ()
 
UE_FORCEINLINE_HINT void AddToRoot ()
 
UE_FORCEINLINE_HINT void RemoveFromRoot ()
 
UE_FORCEINLINE_HINT bool IsRooted () const
 
UE_FORCEINLINE_HINT int32 GetRefCount () const
 
bool ThisThreadAtomicallyClearedRFUnreachable ()
 
UE_FORCEINLINE_HINT bool IsUnreachable () const
 
UE_FORCEINLINE_HINT bool IsNative () const
 
void SetInternalFlags (EInternalObjectFlags FlagsToSet) const
 
UE_FORCEINLINE_HINT EInternalObjectFlags GetInternalFlags () const
 
UE_FORCEINLINE_HINT bool HasAnyInternalFlags (EInternalObjectFlags FlagsToCheck) const
 
void ClearInternalFlags (EInternalObjectFlags FlagsToClear) const
 
bool AtomicallyClearInternalFlags (EInternalObjectFlags FlagsToClear) const
 
COREUOBJECT_API FString GetFullName (const UObject *StopOuter=NULL, EObjectFullNameFlags Flags=EObjectFullNameFlags::None) const
 
COREUOBJECT_API void GetFullName (const UObject *StopOuter, FString &ResultString, EObjectFullNameFlags Flags=EObjectFullNameFlags::None) const
 
COREUOBJECT_API void GetFullName (FStringBuilderBase &ResultString, const UObject *StopOuter=NULL, EObjectFullNameFlags Flags=EObjectFullNameFlags::None) const
 
COREUOBJECT_API FString GetPathName (const UObject *StopOuter=NULL) const
 
COREUOBJECT_API void GetPathName (const UObject *StopOuter, FString &ResultString) const
 
COREUOBJECT_API void GetPathName (const UObject *StopOuter, FStringBuilderBase &ResultString) const
 
virtual bool CanBeClusterRoot () const
 
virtual COREUOBJECT_API bool CanBeInCluster () const
 
virtual COREUOBJECT_API void CreateCluster ()
 
virtual void OnClusterMarkedAsPendingKill ()
 
COREUOBJECT_API void AddToCluster (UObjectBaseUtility *ClusterRootOrObjectFromCluster, bool bAddAsMutableObject=false)
 
COREUOBJECT_API FString GetFullGroupName (bool bStartWithOuter) const
 
UE_FORCEINLINE_HINT FString GetName () const
 
UE_FORCEINLINE_HINT void GetName (FString &ResultString) const
 
UE_FORCEINLINE_HINT void AppendName (FString &ResultString) const
 
COREUOBJECT_API bool IsPackageExternal () const
 
COREUOBJECT_API void DetachExternalPackage ()
 
COREUOBJECT_API void ReattachExternalPackage ()
 
COREUOBJECT_API UObjectGetOutermostObject () const
 
COREUOBJECT_API UPackageGetPackage () const
 
UE_INTERNAL virtual COREUOBJECT_API UE::Core::FVersePath GetVersePath () const
 
COREUOBJECT_API UPackageGetOutermost () const
 
COREUOBJECT_API bool MarkPackageDirty () const
 
COREUOBJECT_API bool IsTemplate (EObjectFlags TemplateTypes=RF_ArchetypeObject|RF_ClassDefaultObject) const
 
COREUOBJECT_API UObjectGetTypedOuter (UClass *Target) const
 
template<typename T >
T * GetTypedOuter () const
 
template<typename InterfaceClassType >
InterfaceClassTypeGetImplementingOuter () const
 
COREUOBJECT_API UObjectBaseUtilityGetImplementingOuterObject (const UClass *InInterfaceClass) const
 
COREUOBJECT_API bool IsIn (const UObject *SomeOuter) const
 
COREUOBJECT_API bool IsIn (const UPackage *SomePackage) const
 
COREUOBJECT_API bool IsInOuter (const UObject *SomeOuter) const
 
COREUOBJECT_API bool IsInPackage (const UPackage *SomePackage) const
 
COREUOBJECT_API bool IsInA (const UClass *SomeBaseClass) const
 
COREUOBJECT_API bool RootPackageHasAnyFlags (uint32 CheckFlagMask) const
 
template<typename OtherClassType >
bool IsA (OtherClassType SomeBase) const
 
template<class T >
bool IsA () const
 
COREUOBJECT_API const UClassFindNearestCommonBaseClass (const UClass *TestClass) const
 
COREUOBJECT_API voidGetInterfaceAddress (UClass *InterfaceClass)
 
COREUOBJECT_API voidGetNativeInterfaceAddress (UClass *InterfaceClass)
 
const voidGetNativeInterfaceAddress (UClass *InterfaceClass) const
 
COREUOBJECT_API bool IsTemplateForSubobjects (EObjectFlags TemplateTypes=RF_ClassDefaultObject|RF_DefaultSubObject|RF_InheritableComponentTemplate) const
 
COREUOBJECT_API bool IsDefaultSubobject () const
 
COREUOBJECT_API class FLinkerLoadGetLinker () const
 
COREUOBJECT_API int32 GetLinkerIndex () const
 
COREUOBJECT_API FPackageFileVersion GetLinkerUEVersion () const
 
int32 GetLinkerUE4Version () const
 
COREUOBJECT_API int32 GetLinkerLicenseeUEVersion () const
 
int32 GetLinkerLicenseeUE4Version () const
 
COREUOBJECT_API int32 GetLinkerCustomVersion (FGuid CustomVersionKey) const
 
UE_FORCEINLINE_HINT bool operator< (const UObjectBaseUtility &Other) const
 
TStatId GetStatID (bool bForDeferredUse=false) const
 
- Public Member Functions inherited from UObjectBase
COREUOBJECT_API UObjectBase (UClass *InClass, EObjectFlags InFlags, EInternalObjectFlags InInternalFlags, UObject *InOuter, FName InName, int32 InInternalIndex=-1, int32 InSerialNumber=0, FRemoteObjectId InRemoteId=FRemoteObjectId())
 
virtual COREUOBJECT_API ~UObjectBase ()
 
COREUOBJECT_API bool IsValidLowLevel () const
 
COREUOBJECT_API bool IsValidLowLevelFast (bool bRecursive=true) const
 
FORCEINLINE uint32 GetUniqueID () const
 
FORCEINLINE UClassGetClass () const
 
FORCEINLINE UObjectGetOuter () const
 
FORCEINLINE FName GetFName () const
 
virtual COREUOBJECT_API FName GetFNameForStatID () const
 
COREUOBJECT_API UPackageGetExternalPackage () const
 
COREUOBJECT_API void SetExternalPackage (UPackage *InPackage)
 
COREUOBJECT_API UPackageGetExternalPackageInternal () const
 
COREUOBJECT_API void MarkAsReachable () const
 
COREUOBJECT_API void AddRef () const
 
COREUOBJECT_API void ReleaseRef () const
 
FORCEINLINE EObjectFlags GetFlags () const
 
FORCENOINLINE void AtomicallySetFlags (EObjectFlags FlagsToAdd)
 
FORCENOINLINE void AtomicallyClearFlags (EObjectFlags FlagsToClear)
 
- Public Member Functions inherited from TTypedElementInterfaceCustomizationRegistry< FTypedElementSelectionCustomization >
 TTypedElementInterfaceCustomizationRegistry (TDefaultArgs &&... DefaultArgs)
 
 TTypedElementInterfaceCustomizationRegistry (const TTypedElementInterfaceCustomizationRegistry &)=delete
 
 TTypedElementInterfaceCustomizationRegistry (TTypedElementInterfaceCustomizationRegistry &&)=delete
 
virtual ~TTypedElementInterfaceCustomizationRegistry ()=default
 
TTypedElementInterfaceCustomizationRegistryoperator= (const TTypedElementInterfaceCustomizationRegistry &)=delete
 
TTypedElementInterfaceCustomizationRegistryoperator= (TTypedElementInterfaceCustomizationRegistry &&)=delete
 
void SetDefaultInterfaceCustomization (TUniquePtr< FTypedElementSelectionCustomization > &&InInterfaceCustomization)
 
FTypedElementSelectionCustomizationGetDefaultInterfaceCustomization () const
 
void RegisterInterfaceCustomizationByTypeName (const FName InElementTypeName, TUniquePtr< FTypedElementSelectionCustomization > &&InInterfaceCustomization)
 
void RegisterInterfaceCustomizationByTypeId (const FTypedHandleTypeId InElementTypeId, TUniquePtr< FTypedElementSelectionCustomization > &&InInterfaceCustomization)
 
void UnregisterInterfaceCustomizationByTypeName (const FName InElementTypeName)
 
void UnregisterInterfaceCustomizationByTypeId (const FTypedHandleTypeId InElementTypeId)
 
FTypedElementSelectionCustomizationGetInterfaceCustomizationByTypeName (const FName InElementTypeName, const bool bAllowFallback=true) const
 
FTypedElementSelectionCustomizationGetInterfaceCustomizationByTypeId (const FTypedHandleTypeId InElementTypeId, const bool bAllowFallback=true) const
 
- Public Member Functions inherited from FTypedElementInterfaceCustomizationRegistryBase
virtual ~FTypedElementInterfaceCustomizationRegistryBase ()=default
 

Public Attributes

FOnPreChangeDynamic OnPreSelectionChange
 
FOnChangeDynamic OnSelectionChange
 

Additional Inherited Members

- Public Types inherited from UObject
enum class  ENetFields_Private { NETFIELD_REP_START = 0 , NETFIELD_REP_END = -1 }
 
typedef UObject WithinClass
 
- Static Public Member Functions inherited from UObject
static COREUOBJECT_API void UpdateClassesExcludedFromDedicatedServer (const TArray< FString > &InClassNames, const TArray< FString > &InModulesNames)
 
static COREUOBJECT_API void UpdateClassesExcludedFromDedicatedClient (const TArray< FString > &InClassNames, const TArray< FString > &InModulesNames)
 
static COREUOBJECT_API bool CanCreateInCurrentContext (UObject *Template)
 
static COREUOBJECT_API void AddReferencedObjects (UObject *InThis, FReferenceCollector &Collector)
 
static COREUOBJECT_API const FNameSourceFileTagName ()
 
static COREUOBJECT_API UObjectGetArchetypeFromRequiredInfo (const UClass *Class, const UObject *Outer, FName Name, EObjectFlags ObjectFlags)
 
- Static Public Member Functions inherited from UObjectBaseUtility
static bool IsGarbageEliminationEnabled ()
 
static bool IsPendingKillEnabled ()
 
static void SetGarbageEliminationEnabled (bool bEnabled)
 
static COREUOBJECT_API void ReloadObjectsFromModifiedConfigSections (const class FConfigModificationTracker *ChangeTracker)
 
- Static Public Member Functions inherited from UObjectBase
static COREUOBJECT_API FString RemoveClassPrefix (const TCHAR *ClassName)
 
static void PrefetchClass (UObject *Object)
 
static void PrefetchOuter (UObject *Object)
 
- Protected Member Functions inherited from UObject
virtual FString GetDetailedInfoInternal () const
 
COREUOBJECT_API bool CanCheckDefaultSubObjects (bool bForceCheck, bool &bResult) const
 
virtual COREUOBJECT_API bool CheckDefaultSubobjectsInternal () const
 
- Protected Member Functions inherited from UObjectBase
 UObjectBase ()
 
COREUOBJECT_API UObjectBase (EObjectFlags InFlags)
 
COREUOBJECT_API void LowLevelRename (FName NewName, UObject *NewOuter=NULL)
 
virtual void RegisterDependencies ()
 
COREUOBJECT_API void Register (class UClass *(*StaticClassFn)(), const TCHAR *PackageName, const TCHAR *Name)
 
COREUOBJECT_API void Register (const TCHAR *PackageName, const TCHAR *Name)
 
virtual COREUOBJECT_API void DeferredRegister (UClass *UClassStaticClass, const TCHAR *PackageName, const TCHAR *Name)
 
FORCEINLINE void SetFlagsTo (EObjectFlags NewFlags)
 
- Protected Member Functions inherited from FTypedElementInterfaceCustomizationRegistryBase
TYPEDELEMENTRUNTIME_API FTypedHandleTypeId GetElementTypeIdFromName (const FName InElementTypeName) const
 
TYPEDELEMENTRUNTIME_API FTypedHandleTypeId GetElementTypeIdFromNameChecked (const FName InElementTypeName) const
 

Detailed Description

A wrapper around an element list that ensures mutation goes via the selection interfaces, as well as providing some utilities for batching operations.

Constructor & Destructor Documentation

◆ UTypedElementSelectionSet()

UTypedElementSelectionSet::UTypedElementSelectionSet ( )

Member Function Documentation

◆ AllowSelectionModifiers() [1/2]

bool UTypedElementSelectionSet::AllowSelectionModifiers ( const FScriptTypedElementHandle InElementHandle) const

Test to see whether selection modifiers (Ctrl or Shift) are allowed while selecting this element.

◆ AllowSelectionModifiers() [2/2]

bool UTypedElementSelectionSet::AllowSelectionModifiers ( const FTypedElementHandle InElementHandle) const

Test to see whether selection modifiers (Ctrl or Shift) are allowed while selecting this element.

◆ BeginDestroy()

void UTypedElementSelectionSet::BeginDestroy ( )
overridevirtual

Called before destroying the object. This is called immediately upon deciding to destroy the object, to allow the object to begin an asynchronous cleanup process.

Reimplemented from UObject.

◆ CanDeselectElement() [1/2]

bool UTypedElementSelectionSet::CanDeselectElement ( const FScriptTypedElementHandle InElementHandle,
const FTypedElementSelectionOptions  InSelectionOptions 
) const

Test to see whether the given element can be deselected.

◆ CanDeselectElement() [2/2]

bool UTypedElementSelectionSet::CanDeselectElement ( const FTypedElementHandle InElementHandle,
const FTypedElementSelectionOptions  InSelectionOptions 
) const

Test to see whether the given element can be deselected.

◆ CanSelectElement() [1/2]

bool UTypedElementSelectionSet::CanSelectElement ( const FScriptTypedElementHandle InElementHandle,
const FTypedElementSelectionOptions  InSelectionOptions 
) const

Test to see whether the given element can be selected.

◆ CanSelectElement() [2/2]

bool UTypedElementSelectionSet::CanSelectElement ( const FTypedElementHandle InElementHandle,
const FTypedElementSelectionOptions  InSelectionOptions 
) const

Test to see whether the given element can be selected.

◆ ClearSelection()

bool UTypedElementSelectionSet::ClearSelection ( const FTypedElementSelectionOptions  InSelectionOptions)

Clear the current selection.

Returns
True if the selection was changed, false otherwise.

◆ CountSelectedElements()

int32 UTypedElementSelectionSet::CountSelectedElements ( const TSubclassOf< UInterface InBaseInterfaceType = {}) const
inline

Count the number of selected elements, optionally filtering to elements that implement the given interface.

◆ CountSelectedObjects() [1/2]

int32 UTypedElementSelectionSet::CountSelectedObjects ( ) const
inline

Count the number of selected objects.

◆ CountSelectedObjects() [2/2]

int32 UTypedElementSelectionSet::CountSelectedObjects ( const UClass InRequiredClass = nullptr) const
inline

Count the number of selected objects.

◆ DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam() [1/2]

UTypedElementSelectionSet::DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam ( FOnChangeDynamic  ,
const UTypedElementSelectionSet ,
SelectionSet   
)

◆ DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam() [2/2]

UTypedElementSelectionSet::DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam ( FOnPreChangeDynamic  ,
const UTypedElementSelectionSet ,
SelectionSet   
)

◆ DECLARE_EVENT_OneParam() [1/2]

UTypedElementSelectionSet::DECLARE_EVENT_OneParam ( UTypedElementSelectionSet  ,
FOnChanged  ,
const UTypedElementSelectionSet  
)

Access the delegate that is invoked whenever the underlying element list has been changed.

Note
This is called automatically at the end of each frame, but can also be manually invoked by NotifyPendingChanges.

◆ DECLARE_EVENT_OneParam() [2/2]

UTypedElementSelectionSet::DECLARE_EVENT_OneParam ( UTypedElementSelectionSet  ,
FOnPreChange  ,
const UTypedElementSelectionSet  
)

Access the delegate that is invoked whenever the underlying element list is potentially about to change.

Note
This may be called even if no actual change happens, so may be called multiple times without a corresponding OnChanged notification.

◆ DeselectElement() [1/2]

bool UTypedElementSelectionSet::DeselectElement ( const FScriptTypedElementHandle InElementHandle,
const FTypedElementSelectionOptions  InSelectionOptions 
)

Attempt to deselect the given element.

Returns
True if the selection was changed, false otherwise.

◆ DeselectElement() [2/2]

bool UTypedElementSelectionSet::DeselectElement ( const FTypedElementHandle InElementHandle,
const FTypedElementSelectionOptions  InSelectionOptions 
)

Attempt to deselect the given element.

Returns
True if the selection was changed, false otherwise.

◆ DeselectElements() [1/4]

bool UTypedElementSelectionSet::DeselectElements ( const TArray< FScriptTypedElementHandle > &  InElementHandles,
const FTypedElementSelectionOptions  InSelectionOptions 
)

Attempt to deselect the given elements.

Returns
True if the selection was changed, false otherwise.

◆ DeselectElements() [2/4]

bool UTypedElementSelectionSet::DeselectElements ( const TArray< FTypedElementHandle > &  InElementHandles,
const FTypedElementSelectionOptions  InSelectionOptions 
)

Attempt to deselect the given elements.

Returns
True if the selection was changed, false otherwise.

◆ DeselectElements() [3/4]

bool UTypedElementSelectionSet::DeselectElements ( FTypedElementListConstRef  InElementList,
const FTypedElementSelectionOptions  InSelectionOptions 
)

◆ DeselectElements() [4/4]

bool UTypedElementSelectionSet::DeselectElements ( TArrayView< const FTypedElementHandle InElementHandles,
const FTypedElementSelectionOptions  InSelectionOptions 
)

◆ ForEachSelectedElement()

void UTypedElementSelectionSet::ForEachSelectedElement ( TFunctionRef< bool(const TTypedElement< BaseInterfaceType > &)>  InCallback) const
inline

Enumerate the selected elements that implement the given interface.

Note
Return true from the callback to continue enumeration.

◆ ForEachSelectedElementHandle()

void UTypedElementSelectionSet::ForEachSelectedElementHandle ( TFunctionRef< bool(const FTypedElementHandle &)>  InCallback,
const TSubclassOf< UInterface > &  InBaseInterfaceType = {} 
) const
inline

Enumerate the handle of every selected element, optionally filtering to elements that implement the given interface.

Note
Return true from the callback to continue enumeration.

◆ ForEachSelectedObject() [1/2]

void UTypedElementSelectionSet::ForEachSelectedObject ( TFunctionRef< bool(RequiredClassType *)>  InCallback) const
inline

Enumerate the selected objects from the currently selected elements.

Note
Return true from the callback to continue enumeration.

◆ ForEachSelectedObject() [2/2]

void UTypedElementSelectionSet::ForEachSelectedObject ( TFunctionRef< bool(UObject *)>  InCallback,
const UClass InRequiredClass = nullptr 
) const
inline

Enumerate the selected objects from the currently selected elements.

Note
Return true from the callback to continue enumeration.

◆ GetBottomSelectedElement() [1/2]

TTypedElement< BaseInterfaceType > UTypedElementSelectionSet::GetBottomSelectedElement ( ) const
inline

Get the last selected element implementing the given interface.

◆ GetBottomSelectedElement() [2/2]

TTypedElement< BaseInterfaceType > UTypedElementSelectionSet::GetBottomSelectedElement ( TFunctionRef< bool(const TTypedElement< BaseInterfaceType > &)>  Predicate) const
inline

Get the last element that implement the given interface and pass the predicate. @Predicate A function that return should true when the element is desirable

◆ GetBottomSelectedObject() [1/2]

RequiredClassType * UTypedElementSelectionSet::GetBottomSelectedObject ( ) const
inline

Get the last selected object of the given type.

◆ GetBottomSelectedObject() [2/2]

UObject * UTypedElementSelectionSet::GetBottomSelectedObject ( const UClass InRequiredClass = nullptr) const
inline

Get the last selected object of the given type.

◆ GetCurrentSelectionState()

FTypedElementSelectionSetState UTypedElementSelectionSet::GetCurrentSelectionState ( ) const

Serializes the current selection set. The calling code is responsible for storing any state information. The selection set can be returned to a prior state using RestoreSelectionState.

Returns
the current state of the selection set.

◆ GetElementList()

FTypedElementListConstRef UTypedElementSelectionSet::GetElementList ( ) const
inline

Get the underlying element list holding the selection state.

◆ GetNormalizedElementList() [1/2]

void UTypedElementSelectionSet::GetNormalizedElementList ( FTypedElementListConstRef  InElementList,
const FTypedElementSelectionNormalizationOptions InNormalizationOptions,
FTypedElementListRef  OutNormalizedElements 
) const

◆ GetNormalizedElementList() [2/2]

FTypedElementListRef UTypedElementSelectionSet::GetNormalizedElementList ( FTypedElementListConstRef  InElementList,
const FTypedElementSelectionNormalizationOptions  InNormalizationOptions 
) const

Get a normalized version of the given element list that can be used to perform operations like gizmo manipulation, deletion, copying, etc. This will do things like expand out groups, and resolve any parent<->child elements so that duplication operations aren't performed on both the parent and the child.

◆ GetNormalizedSelection() [1/2]

void UTypedElementSelectionSet::GetNormalizedSelection ( const FTypedElementSelectionNormalizationOptions InNormalizationOptions,
FTypedElementListRef  OutNormalizedElements 
) const

◆ GetNormalizedSelection() [2/2]

FTypedElementListRef UTypedElementSelectionSet::GetNormalizedSelection ( const FTypedElementSelectionNormalizationOptions  InNormalizationOptions) const

Get a normalized version of this selection set that can be used to perform operations like gizmo manipulation, deletion, copying, etc. This will do things like expand out groups, and resolve any parent<->child elements so that duplication operations aren't performed on both the parent and the child.

◆ GetNumSelectedElements()

int32 UTypedElementSelectionSet::GetNumSelectedElements ( ) const
inline

Get the number of selected elements.

◆ GetScopedClearNewPendingChange()

FTypedElementList::FScopedClearNewPendingChange UTypedElementSelectionSet::GetScopedClearNewPendingChange ( )
inline

Get a scoped object that when destroyed it clear a pending change notification without emitting the notification if it happened during its lifecycle.

◆ GetSelectedElementHandles() [1/2]

TArray< FTypedElementHandle > UTypedElementSelectionSet::GetSelectedElementHandles ( const TSubclassOf< UInterface InBaseInterfaceType = {}) const
inline

Get the handle of every selected element, optionally filtering to elements that implement the given interface.

◆ GetSelectedElementHandles() [2/2]

void UTypedElementSelectionSet::GetSelectedElementHandles ( TArray< FTypedElementHandle, ArrayAllocator > &  OutArray,
const TSubclassOf< UInterface > &  InBaseInterfaceType = {} 
) const
inline

Get the handle of every selected element, optionally filtering to elements that implement the given interface.

◆ GetSelectedObjects() [1/2]

TArray< RequiredClassType * > UTypedElementSelectionSet::GetSelectedObjects ( ) const
inline

Get the array of selected objects from the currently selected elements.

◆ GetSelectedObjects() [2/2]

TArray< UObject * > UTypedElementSelectionSet::GetSelectedObjects ( const UClass InRequiredClass = nullptr) const
inline

Get the array of selected objects from the currently selected elements.

◆ GetSelectionElement() [1/2]

FScriptTypedElementHandle UTypedElementSelectionSet::GetSelectionElement ( const FScriptTypedElementHandle InElementHandle,
const ETypedElementSelectionMethod  InSelectionMethod 
) const

Given an element, return the element that should actually perform a selection operation.

◆ GetSelectionElement() [2/2]

FTypedElementHandle UTypedElementSelectionSet::GetSelectionElement ( const FTypedElementHandle InElementHandle,
const ETypedElementSelectionMethod  InSelectionMethod 
) const

Given an element, return the element that should actually perform a selection operation.

◆ GetTopSelectedElement() [1/2]

TTypedElement< BaseInterfaceType > UTypedElementSelectionSet::GetTopSelectedElement ( ) const
inline

Get the first selected element implementing the given interface.

◆ GetTopSelectedElement() [2/2]

TTypedElement< BaseInterfaceType > UTypedElementSelectionSet::GetTopSelectedElement ( TFunctionRef< bool(const TTypedElement< BaseInterfaceType > &)>  Predicate) const
inline

Get the first element that implement the given interface and pass the predicate @Predicate A function that should return true when the element is desirable

◆ GetTopSelectedObject() [1/2]

RequiredClassType * UTypedElementSelectionSet::GetTopSelectedObject ( ) const
inline

Get the first selected object of the given type.

◆ GetTopSelectedObject() [2/2]

UObject * UTypedElementSelectionSet::GetTopSelectedObject ( const UClass InRequiredClass = nullptr) const
inline

Get the first selected object of the given type.

◆ HasSelectedElements()

bool UTypedElementSelectionSet::HasSelectedElements ( const TSubclassOf< UInterface InBaseInterfaceType = {}) const
inline

Test whether there selected elements, optionally filtering to elements that implement the given interface.

◆ HasSelectedObjects() [1/2]

bool UTypedElementSelectionSet::HasSelectedObjects ( ) const
inline

Test whether there are any selected objects.

◆ HasSelectedObjects() [2/2]

bool UTypedElementSelectionSet::HasSelectedObjects ( const UClass InRequiredClass = nullptr) const
inline

Test whether there are any selected objects.

◆ IsElementSelected() [1/2]

bool UTypedElementSelectionSet::IsElementSelected ( const FScriptTypedElementHandle InElementHandle,
const FTypedElementIsSelectedOptions  InSelectionOptions 
) const

Test to see whether the given element is currently considered selected.

◆ IsElementSelected() [2/2]

bool UTypedElementSelectionSet::IsElementSelected ( const FTypedElementHandle InElementHandle,
const FTypedElementIsSelectedOptions  InSelectionOptions 
) const

Test to see whether the given element is currently considered selected.

◆ K2_GetSelectedElementHandles()

TArray< FScriptTypedElementHandle > UTypedElementSelectionSet::K2_GetSelectedElementHandles ( const TSubclassOf< UInterface InBaseInterfaceType = {}) const

Get the handle of every selected element, optionally filtering to elements that implement the given interface.

◆ Legacy_GetElementListSync()

FTypedElementList::FLegacySync & UTypedElementSelectionSet::Legacy_GetElementListSync ( )
inline

Access the interface to allow external systems (such as USelection) to receive immediate sync notifications as the underlying element list is changed. This exists purely as a bridging mechanism and shouldn't be relied on for new code. It is lazily created as needed.

◆ Legacy_GetElementListSyncPtr()

FTypedElementList::FLegacySync * UTypedElementSelectionSet::Legacy_GetElementListSyncPtr ( )
inline

Access the interface to allow external systems (such as USelection) to receive immediate sync notifications as the underlying element list is changed. This exists purely as a bridging mechanism and shouldn't be relied on for new code. This will return null if no legacy sync has been created for this instance.

◆ NotifyPendingChanges()

void UTypedElementSelectionSet::NotifyPendingChanges ( )
inline

Invoke the delegate called whenever the underlying element list has been changed.

◆ OnChanged()

FOnChanged & UTypedElementSelectionSet::OnChanged ( )
inline

◆ OnPreChange()

FOnPreChange & UTypedElementSelectionSet::OnPreChange ( )
inline

◆ RestoreSelectionState()

void UTypedElementSelectionSet::RestoreSelectionState ( const FTypedElementSelectionSetState InSelectionState)

Restores the selection set from the given state. The calling code is responsible for managing any undo state.

◆ SelectElement() [1/2]

bool UTypedElementSelectionSet::SelectElement ( const FScriptTypedElementHandle InElementHandle,
const FTypedElementSelectionOptions  InSelectionOptions 
)

Attempt to select the given element.

Returns
True if the selection was changed, false otherwise.

◆ SelectElement() [2/2]

bool UTypedElementSelectionSet::SelectElement ( const FTypedElementHandle InElementHandle,
const FTypedElementSelectionOptions  InSelectionOptions 
)

Attempt to select the given element.

Returns
True if the selection was changed, false otherwise.

◆ SelectElements() [1/4]

bool UTypedElementSelectionSet::SelectElements ( const TArray< FScriptTypedElementHandle > &  InElementHandles,
const FTypedElementSelectionOptions  InSelectionOptions 
)

Attempt to select the given elements.

Returns
True if the selection was changed, false otherwise.

◆ SelectElements() [2/4]

bool UTypedElementSelectionSet::SelectElements ( const TArray< FTypedElementHandle > &  InElementHandles,
const FTypedElementSelectionOptions  InSelectionOptions 
)

Attempt to select the given elements.

Returns
True if the selection was changed, false otherwise.

◆ SelectElements() [3/4]

bool UTypedElementSelectionSet::SelectElements ( FTypedElementListConstRef  InElementList,
const FTypedElementSelectionOptions  InSelectionOptions 
)

◆ SelectElements() [4/4]

bool UTypedElementSelectionSet::SelectElements ( TArrayView< const FTypedElementHandle InElementHandles,
const FTypedElementSelectionOptions  InSelectionOptions 
)

◆ Serialize()

void UTypedElementSelectionSet::Serialize ( FArchive Ar)
overridevirtual

Handles reading, writing, and reference collecting using FArchive. This implementation handles all FProperty serialization, but can be overridden for native variables.

Reimplemented from UObject.

◆ SetNameForTedsIntegration()

void UTypedElementSelectionSet::SetNameForTedsIntegration ( const FName  InNameForIntegration)

Sets the name to use for teds integration so that it can be reapplied on undo/redo

◆ SetSelection() [1/4]

bool UTypedElementSelectionSet::SetSelection ( const TArray< FScriptTypedElementHandle > &  InElementHandles,
const FTypedElementSelectionOptions  InSelectionOptions 
)

Attempt to make the selection the given elements.

Note
Equivalent to calling ClearSelection then SelectElements, but happens in a single batch.
Returns
True if the selection was changed, false otherwise.

◆ SetSelection() [2/4]

bool UTypedElementSelectionSet::SetSelection ( const TArray< FTypedElementHandle > &  InElementHandles,
const FTypedElementSelectionOptions  InSelectionOptions 
)

Attempt to make the selection the given elements.

Note
Equivalent to calling ClearSelection then SelectElements, but happens in a single batch.
Returns
True if the selection was changed, false otherwise.

◆ SetSelection() [3/4]

bool UTypedElementSelectionSet::SetSelection ( FTypedElementListConstRef  InElementList,
const FTypedElementSelectionOptions  InSelectionOptions 
)

◆ SetSelection() [4/4]

bool UTypedElementSelectionSet::SetSelection ( TArrayView< const FTypedElementHandle InElementHandles,
const FTypedElementSelectionOptions  InSelectionOptions 
)

Member Data Documentation

◆ OnPreSelectionChange

FOnPreChangeDynamic UTypedElementSelectionSet::OnPreSelectionChange

Delegate that is invoked whenever the underlying element list is potentially about to change.

◆ OnSelectionChange

FOnChangeDynamic UTypedElementSelectionSet::OnSelectionChange

Delegate that is invoked whenever the underlying element list has been changed.


The documentation for this class was generated from the following files: