Navigation
API > API/Runtime > API/Runtime/GeometryCollectionEngine > API/Runtime/GeometryCollectionEngine/GeometryCollection > API/Runtime/GeometryCollectionEngine/GeometryCollection/UGeometryCollect-
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 |
void GetMassAndExtents
&40;
int32 ItemIndex,
float & OutMass,
FBox & OutExtents
&41;
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 ) |