FGeometryCollectionPhysicsProxy::CalculateHierarchyLevel

Traverses the parents of `TransformIndex_ in `GeometryCollection_, counting the number of levels until the next parent is `INDEX_NONE_.

Windows
MacOS
Linux

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

Syntax

int32 CalculateHierarchyLevel
(
    const FGeometryDynamicCollection & GeometryCollection,
    int32 TransformIndex
) const

Remarks

Traverses the parents of TransformIndex_ in GeometryCollection, counting the number of levels until the next parent is `INDEX_NONE.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss