Navigation
API > API/Runtime > API/Runtime/GeometryCollectionEngine > API/Runtime/GeometryCollectionEngine/GeometryCollection > API/Runtime/GeometryCollectionEngine/GeometryCollection/UGeometryCollect-_1
References
| Module | GeometryCollectionEngine |
| Header | /Engine/Source/Runtime/Experimental/GeometryCollectionEngine/Public/GeometryCollection/GeometryCollectionComponent.h |
| Include | #include "GeometryCollection/GeometryCollectionComponent.h" |
| Source | /Engine/Source/Runtime/Experimental/GeometryCollectionEngine/Private/GeometryCollection/GeometryCollectionComponent.cpp |
UFUNCTION (BlueprintCallable, Category="ChaosPhysics")
void GetMassAndExtents
(
int32 ItemIndex,
float & OutMass,
FBox & OutExtents
)
Remarks
Get mass and extent of a specific piece
Parameters
| Name | Description |
|---|---|
| ItemIndex | item index ( from HitResult) of the cluster to get level from |
| Level | of the piece ( 0 for root level and positive for the rest ) |