Navigation
API > API/Runtime > API/Runtime/Chaos > API/Runtime/Chaos/GeometryCollection > API/Runtime/Chaos/GeometryCollection/Facades
References
| Module | Chaos |
| Header | /Engine/Source/Runtime/Experimental/Chaos/Public/GeometryCollection/Facades/CollectionTransformSelectionFacade.h |
| Include | #include "GeometryCollection/Facades/CollectionTransformSelectionFacade.h" |
Syntax
class FCollectionTransformSelectionFacade
Remarks
FCollectionTransformSelectionFacade
Defines common API for selecting transforms on a collection
Constructors
| Type | Name | Description | |
|---|---|---|---|
FCollectionTransformSelectionFacade
(
const FManagedArrayCollection& InSelf |
FCollectionTransformSelectionFacade Constuctor |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | CanSelectAll () |
||
| bool | Returns indices of bones where BoundingBox of the bone is inside InBox | ||
| bool | Returns indices of bones where BoundingBox of the bone is inside a sphere | ||
| bool | Returns indices of bones where centroid of the bone is inside InBox | ||
| bool | Returns indices of bones where centroid of the bone is inside a sphere | ||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | Returns indices of bones where all the vertices or at least one vertex of the bone is inside InBox | ||
| bool | Returns indices of bones where all the vertices or at least one vertex of the bone is inside a sphere | ||
| void | ConvertEmbeddedSelectionToParents
(
TArray< int32 >& InOutSelection |
||
| TArray< int32 > | ConvertFaceSelectionToTransformSelection
(
const TArray< int32 >& InFaceSelection, |
Convert a FaceSelection to a TransformSelection, if bAllElementsMustBeSelected is true then all faces of a transform must be selected for the transform to be selected | |
| TArray< int32 > | ConvertFaceSelectionToVertexSelection
(
const TArray< int32 >& InFaceSelection |
Convert a FaceSelection to a VertexSelection | |
| void | ConvertSelectionToClusterNodes
(
TArray< int32 >& InOutSelection, |
Replace any Embedded or Rigid transforms in InOutSelection with their parent cluster. | |
| void | ConvertSelectionToRigidNodes
(
TArray< int32 >& InSelection |
||
| void | ConvertSelectionToRigidNodes
(
const int32 Index, |
||
| TArray< int32 > | ConvertTransformSelectionToFaceSelection
(
const TArray< int32 >& InTransformSelection |
Convert a TransformSelection to a FaceSelection | |
| TArray< int32 > | ConvertTransformSelectionToVertexSelection
(
const TArray< int32 >& InTransformSelection |
Convert a TransformSelection to a VertexSelection | |
| TArray< int32 > | ConvertVertexSelectionToFaceSelection
(
const TArray< int32 >& InVertexSelection, |
Convert a VertexSelection to a FaceSelection, if bAllElementsMustBeSelected is true then all vertices of a face must be selectod for the face to be selected | |
| TArray< int32 > | ConvertVertexSelectionToTransformSelection
(
const TArray< int32 >& InVertexSelection, |
Convert a VertexSelection to a TransformSelection, if bAllElementsMustBeSelected is true then all vertices of a transform must be selected for the transform to be selected | |
| void | DefineSchema () |
Create the facade attributes. | |
| TArray< int32 > | GetBonesByLevel
(
const int32 Level, |
Get bones filtered by the level as they would be in the editor; i.e., the bones with level <= the target Level, but with some additional logic for filtering, etc | |
| TArray< int32 > | GetBonesExactlyAtLevel
(
const int32 TargetLevel, |
Get bones exactly at a target level. A target level of -1 will return all bones. | |
| bool | HasSelectedAncestor
(
const TArray< int32 >& InSelection, |
||
| bool | IsARootBone
(
const int32 Index |
||
| bool | IsConst () |
Is the facade defined constant. | |
| bool | IsValid () |
Is the Facade defined on the collection? | |
| bool | IsValidBone
(
const int32 Index |
||
| void | RemoveRootNodes
(
TArray< int32 >& InOutSelection |
||
| void | |||
| TArray< int32 > | SelectAll () |
||
| TArray< int32 > | SelectBoundingBoxInBox
(
const FBox& InBox, |
||
| TArray< int32 > | SelectBoundingBoxInSphere
(
const FSphere& InSphere, |
||
| TArray< int32 > | SelectByFloatAttribute
(
FString GroupName, |
Returns indices of bones where centroid of the bone is inside a convex hull Select by a float attribute in the collection, it can be any existing float attribute specified by GroupName/AttrName | |
| TArray< int32 > | SelectByIntAttribute
(
FString GroupName, |
Select by an int attribute in the collection, it can be any existing int attribute specified by GroupName/AttrName | |
| void | SelectByPercentage
(
TArray< int32 >& InOutSelection, |
||
| TArray< int32 > | SelectBySize
(
float SizeMin, |
Select transforms by their Size or Relative Size | |
| TArray< int32 > | SelectByVolume
(
float VolumeMin, |
||
| TArray< int32 > | SelectCentroidInBox
(
const FBox& InBox, |
||
| TArray< int32 > | SelectCentroidInSphere
(
const FSphere& InSphere, |
||
| void | SelectChildren
(
TArray< int32 >& InOutSelection |
||
| TArray< int32 > | |||
| void | SelectContact
(
TArray< int32 >& InOutSelection |
||
| void | SelectInverse
(
TArray< int32 >& InOutSelection |
||
| TArray< int32 > | SelectLeaf () |
||
| void | SelectLevel
(
TArray< int32 >& InOutSelection |
||
| TArray< int32 > | SelectNone () |
||
| void | SelectParent
(
TArray< int32 >& InOutSelection |
||
| TArray< int32 > | SelectRandom
(
bool bDeterministic, |
||
| TArray< int32 > | |||
| void | SelectSiblings
(
TArray< int32 >& InOutSelection |
||
| TArray< int32 > | SelectVerticesInBox
(
const FBox& InBox, |
||
| TArray< int32 > | SelectVerticesInSphere
(
const FSphere& InSphere, |