Navigation
API > API/Runtime > API/Runtime/GeometryCollectionEngine > API/Runtime/GeometryCollectionEngine/GeometryCollection > API/Runtime/GeometryCollectionEngine/GeometryCollection/UGeometryCollection
References
| Module | GeometryCollectionEngine |
| Header | /Engine/Source/Runtime/Experimental/GeometryCollectionEngine/Public/GeometryCollection/GeometryCollectionObject.h |
| Include | #include "GeometryCollection/GeometryCollectionObject.h" |
| Source | /Engine/Source/Runtime/Experimental/GeometryCollectionEngine/Private/GeometryCollection/GeometryCollectionObject.cpp |
float GetMassOrDensity
(
bool & bOutIsDensity
) const
Remarks
Get Mass or density as set by the asset ( this is the value used by to compute the cached attributes ) Mass is return in Kg and Density is returned in Kg/Cm3
Parameters
| Name | Description |
|---|---|
| bOutIsDensity | is set to true by the function if the returned value is to be treated as a density |