UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FDataflowSelection Struct Reference

#include <DataflowSelection.h>

+ Inheritance diagram for FDataflowSelection:

Public Member Functions

 FDataflowSelection ()
 
 FDataflowSelection (FName InGroupName)
 
DATAFLOWCORE_API void Initialize (int32 NumBits, bool Value)
 
DATAFLOWCORE_API void Initialize (const FDataflowSelection &Other)
 
DATAFLOWCORE_API void InitializeFromCollection (const FManagedArrayCollection &InCollection, bool Value)
 
DATAFLOWCORE_API void Clear ()
 
int32 Num () const
 
DATAFLOWCORE_API int32 NumSelected () const
 
DATAFLOWCORE_API bool AnySelected () const
 
bool IsValidIndex (int32 Idx) const
 
bool IsSelected (int32 Idx) const
 
void SetSelected (int32 Idx)
 
DATAFLOWCORE_API void SetSelected (TArray< int32 > Indices)
 
void SetNotSelected (int32 Idx)
 
DATAFLOWCORE_API void AsArray (TArray< int32 > &SelectionArr) const
 
DATAFLOWCORE_API TArray< int32AsArray () const
 
DATAFLOWCORE_API void AsArrayValidated (TArray< int32 > &SelectionArr, const FManagedArrayCollection &InCollection) const
 
DATAFLOWCORE_API TArray< int32AsArrayValidated (const FManagedArrayCollection &InCollection) const
 
DATAFLOWCORE_API bool SetFromArray (const TArray< int32 > &SelectionArr)
 
DATAFLOWCORE_API void SetFromArray (const TArray< bool > &SelectionArr)
 
DATAFLOWCORE_API void AND (const FDataflowSelection &Other, FDataflowSelection &Result) const
 
DATAFLOWCORE_API void OR (const FDataflowSelection &Other, FDataflowSelection &Result) const
 
DATAFLOWCORE_API void XOR (const FDataflowSelection &Other, FDataflowSelection &Result) const
 
DATAFLOWCORE_API void Subtract (const FDataflowSelection &Other, FDataflowSelection &Result) const
 
void Invert ()
 
DATAFLOWCORE_API void SetWithMask (const bool Value, const FDataflowSelection &Mask)
 
const TBitArrayGetBitArray () const
 
DATAFLOWCORE_API bool InitFromArray (const FManagedArrayCollection &InCollection, const TArray< int32 > &InSelectionArr)
 
DATAFLOWCORE_API bool IsValidForCollection (const FManagedArrayCollection &InCollection) const
 
DATAFLOWCORE_API FString ToString ()
 

Constructor & Destructor Documentation

◆ FDataflowSelection() [1/2]

FDataflowSelection::FDataflowSelection ( )
inline

◆ FDataflowSelection() [2/2]

FDataflowSelection::FDataflowSelection ( FName  InGroupName)
inline

Member Function Documentation

◆ AND()

void FDataflowSelection::AND ( const FDataflowSelection Other,
FDataflowSelection Result 
) const

◆ AnySelected()

bool FDataflowSelection::AnySelected ( ) const

◆ AsArray() [1/2]

TArray< int32 > FDataflowSelection::AsArray ( ) const

◆ AsArray() [2/2]

void FDataflowSelection::AsArray ( TArray< int32 > &  SelectionArr) const

◆ AsArrayValidated() [1/2]

TArray< int32 > FDataflowSelection::AsArrayValidated ( const FManagedArrayCollection InCollection) const

◆ AsArrayValidated() [2/2]

void FDataflowSelection::AsArrayValidated ( TArray< int32 > &  SelectionArr,
const FManagedArrayCollection InCollection 
) const

◆ Clear()

void FDataflowSelection::Clear ( )

◆ GetBitArray()

const TBitArray & FDataflowSelection::GetBitArray ( ) const
inline

◆ InitFromArray()

bool FDataflowSelection::InitFromArray ( const FManagedArrayCollection InCollection,
const TArray< int32 > &  InSelectionArr 
)

Initialize from a Collection and an array

Returns
true if all indices were successfully set, false if some indices were invalid and could not be set

◆ Initialize() [1/2]

void FDataflowSelection::Initialize ( const FDataflowSelection Other)

◆ Initialize() [2/2]

void FDataflowSelection::Initialize ( int32  NumBits,
bool  Value 
)

◆ InitializeFromCollection()

void FDataflowSelection::InitializeFromCollection ( const FManagedArrayCollection InCollection,
bool  Value 
)

◆ Invert()

void FDataflowSelection::Invert ( )
inline

◆ IsSelected()

bool FDataflowSelection::IsSelected ( int32  Idx) const
inline

◆ IsValidForCollection()

bool FDataflowSelection::IsValidForCollection ( const FManagedArrayCollection InCollection) const

◆ IsValidIndex()

bool FDataflowSelection::IsValidIndex ( int32  Idx) const
inline

◆ Num()

int32 FDataflowSelection::Num ( ) const
inline

◆ NumSelected()

int32 FDataflowSelection::NumSelected ( ) const

◆ OR()

void FDataflowSelection::OR ( const FDataflowSelection Other,
FDataflowSelection Result 
) const

◆ SetFromArray() [1/2]

void FDataflowSelection::SetFromArray ( const TArray< bool > &  SelectionArr)

Sets the selection from a dense array (it contains a true/false element for every item) (for example from the "Internal" attr from FacesGroup)

◆ SetFromArray() [2/2]

bool FDataflowSelection::SetFromArray ( const TArray< int32 > &  SelectionArr)

Sets the selection from a sparse array (it only contains the indices of the selected items)

Returns
true if all indices were successfully set, false if some indices were invalid and could not be set

◆ SetNotSelected()

void FDataflowSelection::SetNotSelected ( int32  Idx)
inline

◆ SetSelected() [1/2]

void FDataflowSelection::SetSelected ( int32  Idx)
inline

◆ SetSelected() [2/2]

void FDataflowSelection::SetSelected ( TArray< int32 Indices)

◆ SetWithMask()

void FDataflowSelection::SetWithMask ( const bool  Value,
const FDataflowSelection Mask 
)

◆ Subtract()

void FDataflowSelection::Subtract ( const FDataflowSelection Other,
FDataflowSelection Result 
) const

◆ ToString()

FString FDataflowSelection::ToString ( )

Print selection in "Selected Transforms: 23 of 34" format;

◆ XOR()

void FDataflowSelection::XOR ( const FDataflowSelection Other,
FDataflowSelection Result 
) const

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