Chaos::Utilities::CastHelper

Call the lambda with concrete shape type. Unwraps shapes contained in Instanced (e.g., Instanced-Sphere will be called with Sphere.

Windows
MacOS
Linux

References

Module

Chaos

Header

/Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/CastingUtilities.h

Include

#include "Chaos/CastingUtilities.h"

Syntax

namespace Chaos
{
    namespace Utilities
    {
        template<typename Lambda>
        auto Chaos::Utilities::CastHelper
        (
            const FImplicitObject & Geom,
            const Lambda & Func
        )
    }
}

Remarks

That this will effectively discard any instance properties like the margin)

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