![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <CollectionSelectionFacade.h>
Classes | |
| struct | FSelectionKey |
Static Public Attributes | |
| static CHAOS_API const FName | UnboundGroup = "Unbound" |
| static CHAOS_API const FName | WeightedUnboundGroup = "WeightedUnbound" |
| static CHAOS_API const FName | BoundGroup = "Bound" |
| static CHAOS_API const FName | WeightedBoundGroup = "WeightedBound" |
| static CHAOS_API const FName | IndexAttribute = "Index" |
| static CHAOS_API const FName | WeightAttribute = "Weights" |
| static CHAOS_API const FName | BoneIndexAttribute = "BoneIndex" |
Defines common API for storing a sib indexing of a separate group. For example, to store a subset of vertices defined in the group "VerticesGroup", use the function : Key = this->AddSelection({1,2,3,4}); The key can be saved and later used to query the values: TArray<int32> SavedVertices; this->GetSelection(Key, SavedVertices);
The following groups are created on the collection based on which API is called.
<Group> = FSelectionFacade::UnboundGroup_<DependencyGroup>
<Group> = FSelectionFacade::WeightedUnboundGroup_<DependencyGroup>
<Group> = FSelectionFacade::BoundGroup_<DependencyGroup>
<Group> = FSelectionFacade::WeightedBoundGroup_<DependencyGroup>
| GeometryCollection::Facades::FSelectionFacade::FSelectionFacade | ( | FManagedArrayCollection & | InSelf | ) |
FSelectionFacade Constuctor
| GeometryCollection::Facades::FSelectionFacade::FSelectionFacade | ( | const FManagedArrayCollection & | InSelf | ) |
| FSelectionFacade::FSelectionKey GeometryCollection::Facades::FSelectionFacade::AddSelection | ( | const int32 | BoneIndex, |
| const TArray< int32 > & | Indices, | ||
| const TArray< float > & | Weights, | ||
| FName | DependencyGroup, | ||
| FName | BoneDependencyGroup = FName("") |
||
| ) |
Add the indices to the FVertexSetInterface::BoundGroup
| FSelectionFacade::FSelectionKey GeometryCollection::Facades::FSelectionFacade::AddSelection | ( | const int32 | BoneIndex, |
| const TArray< int32 > & | Indices, | ||
| FName | DependencyGroup, | ||
| FName | BoneDependencyGroup = FName("") |
||
| ) |
Add the indices to the FVertexSetInterface::BoundGroup
| FSelectionFacade::FSelectionKey GeometryCollection::Facades::FSelectionFacade::AddSelection | ( | const TArray< int32 > & | Indices, |
| const TArray< float > & | Weights, | ||
| FName | DependencyGroup | ||
| ) |
Add the indices to the FVertexSetInterface::WeightedUnboundGroup
| FSelectionFacade::FSelectionKey GeometryCollection::Facades::FSelectionFacade::AddSelection | ( | const TArray< int32 > & | Indices, |
| FName | DependencyGroup | ||
| ) |
Add the indices to the FVertexSetInterface::UnboundGroup
| void GeometryCollection::Facades::FSelectionFacade::GetSelection | ( | const FSelectionKey & | Key, |
| int32 & | BoneIndex, | ||
| TArray< int32 > & | Indices | ||
| ) | const |
Return the vertex list and bone index from the given key
| Key | : <GroupName and Index> |
| BoneIndex | : Return BoneIndex, INDEX_NONE if not found. |
| Indices | : Return indices, empty if not found. |
| void GeometryCollection::Facades::FSelectionFacade::GetSelection | ( | const FSelectionKey & | Key, |
| int32 & | BoneIndex, | ||
| TArray< int32 > & | Indices, | ||
| TArray< float > & | Weights | ||
| ) | const |
Return the vertex list, bone index, and weights from the given key
| Key | : <GroupName and Index> |
| BoneIndex | : Return BoneIndex, INDEX_NONE if not found. |
| Indices | : Return indices, empty if not found. |
| Weights | : Return vertex weights, empty if not found. |
| void GeometryCollection::Facades::FSelectionFacade::GetSelection | ( | const FSelectionKey & | Key, |
| TArray< int32 > & | Indices | ||
| ) | const |
Return the vertex list from the given key
| Key | : <GroupName and Index> |
| Indices | : Return indices, empty if not found. |
| void GeometryCollection::Facades::FSelectionFacade::GetSelection | ( | const FSelectionKey & | Key, |
| TArray< int32 > & | Indices, | ||
| TArray< float > & | Weights | ||
| ) | const |
Return the vertex list, bone index, and weights from the given key
| Key | : <GroupName and Index> |
| BoneIndex | : Return BoneIndex, INDEX_NONE if not found. |
| Indices | : Return indices, empty if not found. |
| Weights | : Return vertex weights, empty if not found. |
|
inline |
Is the facade defined constant.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |