ISpatialVisitor::Sweep

Called whenever an instance in the acceleration structure may intersect with a sweep - the instance we are potentially intersecting with a sweep - the length all future intersection tests will use.

Windows
MacOS
Linux

References

Module

Chaos

Header

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

Include

#include "Chaos/ISpatialAcceleration.h"

Syntax

bool Sweep
(
    const TSpatialVisitorData< TPayloadType > & Instance,
    FQueryFastData & CurData
)

Remarks

Called whenever an instance in the acceleration structure may intersect with a sweep - the instance we are potentially intersecting with a sweep - the length all future intersection tests will use. A blocking intersection should update this Returns true to continue iterating through the acceleration structure

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