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/CollectionBoundsFacade.h |
| Include | #include "GeometryCollection/Facades/CollectionBoundsFacade.h" |
Syntax
class FBoundsFacade
Remarks
Defines common API for calculating the bounding box on a collection
Constructors
| Type | Name | Description | |
|---|---|---|---|
FBoundsFacade
(
FManagedArrayCollection& InSelf |
FBoundsFacade Constuctor | ||
FBoundsFacade
(
const FManagedArrayCollection& InSelf |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | DefineSchema () |
Create the facade attributes. | |
| const TManagedArray< FBox > & | BoundingBox access | ||
| FBox | BoundingBox for the whole collection in Collection space | ||
| TArray< FVector > | GetBoundingBoxVertexPositions
(
const FBox& InBox |
Returns the positions of the vertices of an FBox | |
| TArray< FVector > | GetCentroids () |
Centroids (Centers of BoundingBoxes) access | |
| const TManagedArray< int32 > & | TransformToGeometryIndex Access | ||
| bool | IsConst () |
Is the facade defined constant. | |
| bool | IsValid () |
Is the Facade defined on the collection? | |
| void | UpdateBoundingBox
(
bool bSkipCheck |
UpdateBoundingBox |