Navigation
API > API/Runtime > API/Runtime/Chaos > API/Runtime/Chaos/PhysicsProxy > API/Runtime/Chaos/PhysicsProxy/FGeometryCollectionPhysicsProxy
References
| Module | Chaos |
| Header | /Engine/Source/Runtime/Experimental/Chaos/Public/PhysicsProxy/GeometryCollectionPhysicsProxy.h |
| Include | #include "PhysicsProxy/GeometryCollectionPhysicsProxy.h" |
| Source | /Engine/Source/Runtime/Experimental/Chaos/Private/PhysicsProxy/GeometryCollectionPhysicsProxy.cpp |
static int32 CalculateAndSetLevel
(
int32 TransformGroupIdx,
const TManagedArray < int32 > & Parent,
TManagedArray < int32 > & Levels
)
Remarks
Traverses the parents of TransformGroupIdx counting number of levels, and sets levels array value for TransformGroupIdx and its parents if not yet initialized. If level is already set, retrieve stored level. Uninitialized level array should be correct size and defaulted to zeros.